Hi All,
Here is what I am trying to do:
- Enable Routing failure for failed messages
- I have an orchestration that have direct bound to the message box that subscribe to Xml.XmlDocument message type with (ErrorReport.FailureCode exists) filter
Here is what I noticed:
- When “Enable Routing failure for failed messages” is enabled, 2 service instances were created:
- 0xc0c016a2 (Routing Failure) [Resumable]
- 0xC0C01B4e (Routing Failure Report) [Non-Resumable]
- when the orchestration is started and subscribing to message with routing failure, only 1 service instance is showed up in BizTalk Admin Console, which is 0xC0C01B4e (Routing Failure Report). I know The routing failure report is literaly a dummy message associated with a dummy instance. The only really interesting part to this message is the context. This is the context of the message which failed to route at the time of the routing failure.
Although these reports can be manually deleted in the admin console, they will impact the biztalk server performance if these instances build up. My question is that would there be any way of removing these reports programmatically, such as inside the orchestration that subscribe to the routing failure message?
Thank you very much for your help.