When I was at Tech Ed in Boston in June I spoke to Lee Graber (Developer Lead for the BiztTalk Core Engine) about how you would go about sending all routing failures (messages without subscribers) to a send port so that a copy is readily available. He showed me a quick demo that was pretty cool. Here are the steps to complete this simple demonstration:
1. Create any old receive port, making sure you check “Enable Routing For Failed Messages” as below:
2. Create a Send Port with a filter ErrorReport.FailureCode = “0xc0c01680” (this is the code for routing failures, like the ones you see in Event View and HAT that say “Can’t find a matching subscription for the message“)
Test it by dropping any old message (where there is no port or orchestration expecting a message of that type) on the receive port and watch it appear out the send port.