I just recently started a new BizTalk Server 2006 project in which I created a custom pipeline component to assist in the compression and decompression of messages. The plan is to have a receive location monitor a folder via the File adapter, and when a zip file is uploaded via FTP from a 3rrd party process, the receive location will use the custom pipeline component , via a receive pipeline, to decompress the file and publish the message to the MessageBox. Pretty slick!
See the WingtipToys solution in the SDK folder for a great heads-start to creating a compression / decompression pipeline component. You can find this solution in the following folder: C:\Program Files\Microsoft BizTalk Server 2006\SDK\Scenarios\PM\.
So, to get this rolling, I added a C# project to my BizTalk solution. There are few things I configure on these C# library projects, as I need to utilize the output assembly in my Pipelines BizTalk project.
Having made these changes, you now have a pretty flexible setup for moving forward.
When you reference the custom pipeline component assembly, you'll want to reference the assembly that has been built in the C:\Program Files\Microsoft BizTalk Server 2006\Pipeline Components\ folder. This way, when you deploy your receive or send pipelines, BizTalk will continue to reference the same assembly.
However, having referenced this assembly, you will see these warnings the next time you build your solution:
------ Build started: Project: BizTalkApp, Configuration: Development .NET ------Updating references...The dependency 'Microsoft.BizTalk.Tracing' could not be found.The dependency 'Microsoft.BizTalk.Bam.EventObservation' could not be found.The dependency 'Microsoft.BizTalk.Streaming' could not be found.The dependency 'Microsoft.BizTalk.XPathReader' could not be found.Performing main compilation...
While these warnings are harmless, they are annoying. In order to "suppress" these warnings, select the referenced custom pipeline component assembly, and set Copy Local from True to False. Once you do this, these warnings will disappear.
I hope this helps!
Remember Me
a@href@title, b
Page rendered at Tuesday, January 06, 2009 4:13:12 PM (Central Standard Time, UTC-06:00)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.