Maps within Receive Port

Home Page Forums BizTalk 2004 – BizTalk 2010 Maps within Receive Port

Viewing 1 reply thread
  • Author
    Posts
    • #12354

      I am mapping a message within a receive port.

      I also have a custom pipeline.

      The problem I am having is within my custom pipeline (the Execute method) the message handle I have is to the original message and not the mapped message.

      2 questions:

      Question 1:

      When does the map actually take place?
      – Before the pipeline?
      – Sometime during the pipeline? If so, when?
      – After the pipeline but before the Orchestration?

      Question 2:
      If the message is mapped before or during the pipeline, how can I get a handle to that message (it’s context and body)?

      Thanks

      Scott

    • #12355

      I have found my own answer thanks to the awsome work of [url=http://msdn.microsoft.com/msdnmag/find/?type=Au&phrase=Aaron%20Skonnard&words=exact]Aaron Skonnard[/url]

      Aaron has produced [url=http://msdn.microsoft.com/msdnmag/issues/05/11/ServiceStation]An XML Guru’s Guide to BizTalk Part 1[/url] and [url=http://msdn.microsoft.com/msdnmag/issues/05/12/ServiceStation]An XML Guru’s Guide to BizTalk Part 2[/url]

      Anyway, the answer is the pipeline completes its processing and then applies the map. Once the map has been applied, it is sent to the MessageBox awaiting subscribers to the mapped message.

      Hope this is clear, if not be sure you read Aaron’s work (read it anyway, it’s worth it!)

      Thanks

      Scott

      • #12356

        Probably should also not that you can not access the message context inside your map.

        I’m not a big fan on Receive Port mapping in BizTalk 2004 due to the complexity in error handling.

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