faqts : Computers : Integration : BizTalkServer2004

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

How do I delete a message in the pipeline?

Apr 6th, 2005 22:20
Balaji Ramachandran, http://www.netologi.se/default.aspx?Contents=BizTalkFAQ


Say that you want to write a custom pipeline component that writes some 
data into a database and don't want to include further BizTalk 
processing. Once the database write is successful you do not need the 
message anymore. You do not want the engine to write any data into the 
message box, basically one message gets into the pipe and none goes 
out. 
What you need to do to support this scenario is to return null from the 
IComponent.Execute, IDisassemblerComponent.GetNext or 
IAssemblerComponent.Assemble methods