Wednesday, August 6, 2014

Supress / Nullify / Terminate a Message in a Pipeline Component

Recently I had a situation, where in I need to analyze the Contents of a Message (sent by an existing application) in a Pipeline Component.

However, I have no subscribers for that message and I don’t need to send that message anywhere.

In this case, I wrote a pipeline component to suppress that message.

This pipeline component needs to extend IComponent, IComponentUI, IBaseComponent interfaces.

In the Execute method of IComponent interface, just return Null. This message will then be ignored by BizTalk automatically without any Suspended Messages / Event Logs.


Post a Comment