Message lost, or how to route failed messages

In some cases message can be "lost" while it is processing by pipeline, the reason can be damaged XML format or unexpected error. So you will not be able to find the lost message in Failed Messages (Group Hub)
in Event Viewer you will find something like

There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Receive Port: "ReceivePort1" URI: "C:\Temp\rcv\*.txt" Reason: No Disassemble stage components can recognize the data.

To solve the problem you should enable routing for failed messages in receive port

Then create a send port which will filter all failed messages for you


Popular posts from this blog

Testing Azure Functions locally with automated integration test

Running Stockfish hosted in Azure function

Consuming Web API using JavaScript and XMLHttpRequest method