Connecting to Suspended Messages

Home Page Forums BizTalk 2004 – BizTalk 2010 Connecting to Suspended Messages

Viewing 1 reply thread
  • Author
    Posts
    • #16588

      Hello All…

      I've developed an orhcestration that connects to suspended messages on other BizTalk Applications, when the suspended message is received on the orchestration I want to obtain the service (id or name) that's the owner of that message.

      I've developed a component to poll the information from the tables Instances,Services and Modules from the BizTalkMsgBoxDb, but I've notice that when the orchestration receives the message there's no registry for that messageId on Instances table.

      Also I've noticed that in the Admin Console, the query of suspended messages provides me tha ApplicationName.

      Do you know where can I obtain the appOwner Name or the Id so I can obtain the information I need?

      Thanks a lot

    • #16590

      Wow, listening on the MessageBox tables directly is not a good idea.  Have you tried (if you're using BTS 2006) subscribing to suspended messages using the new error reporting?  You now have things like ErrorReport.ErrorDescription to listen in on.  Not sure if you can get the AppName from that, probably not, but it's a much cleaner way of building an architecture that gracefully handles suspended messages.

      • #16595

        Actually I'm using the ErrorReport.ErrorDescription to get the description of the error, but I was expecting that some of the message-properties from the suspended message give the name of the App but no luck with that approach.

        That's why I'm listening directly on the MessageBox… :S

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.