Large files routing approach in BizTalk

Problem: Large files routing in BizTalk

 Approach:

1) Create a WCF LOB Adapter/extend the SDK File adapter to implement file system watcher to monitor for files in a folder.

2) Once the file is created in the folder, create a new message containing the full path of the file and drop into message box via a custom receive pipeline component which promotes the absolute path of the file (c:\In\LargeFileName.xyz)

3) Create a custom send pipeline component which creates a new message and we associate the messageBody  property to the file (available in the context) using file stream (c:\In\LargeFileName.xyz)

4) Create a send port with the message type filter subscribing to the message created in step 2 and use the send pipeline component created in step 3.

This will also support retries and we have completely  eliminated MsgBox which would be a bottleneck

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: