Re: Handling large messages in BizTalk

Home Page Forums BizTalk 2004 – BizTalk 2010 Handling large messages in BizTalk Re: Handling large messages in BizTalk

#20702

 Hi ,

I have experience in handling large messages in BizTalk. It’s really a major performance bottleneck.The performance bottleneck comes into play when the entire file is received, parsed by the XMLReceive pipeline, and then stored into the Messagebox. You can use custom decode pipeline component which will help you to identify the  Biztalk message size & if it exceeds the message limit ( say 50 MB) then store the file to disk in a uniquely named file  and store the path to the file in the IBaseMessagePart.Data property. The end result will be a message that only contains the path.

Throughout the custome pipeline encoder you can take that large message back in to your process.

But you need to be careful if you load this large message in to XML DOM . You will get out of memory exception .

So better way to use XMLReader .

Let me know if you need more information on this.

 

Thanks & Best regards,

Nandika