PipelineUtil.CloneMessageContext()

Link. February 20, 2008. Comments [0]. Posted in: BizTalk

BizTalk Tip of the Day: If you're writing a custom BizTalk Pipeline Component (particularly a receive one), and you're creating a new message from scratch to return from your component, don't forget to copy the original message context into your new one.

And the right way to do this is using the CloneMessageContext() method of the PipelineUtil helper class included with BizTalk. Rolling your own and doing it incorrectly can result in really weird errors later on.



Comments are closed.

About

Tomas Restrepo is a software developer located in Colombia, South America. His interests include .NET, Connected Systems, PowerShell and lately dynamic programming languages. More...

tomasrestrepo @ twitter My Flickr photostream My saved links on delicious My Technorati Profile

email: tomas@winterdom.com
msn: tomasr@passport.com

View my profile on LinkedIn

MVP logo

Syndicate

Ads


Links

Categories

Statistics

Total Posts: 1020
This Year: 90
This Month: 9
This Week: 0
Comments: 791

Blogroll

Post Archive

Other

Copyright © 2002-2008, Tomas Restrepo.

Powered by: newtelligence dasBlog 2.1.8102.813

Sign In