How to assign a mapped message in the receive port to the orchestration?

Home Page Forums BizTalk 2004 – BizTalk 2010 How to assign a mapped message in the receive port to the orchestration?

Viewing 1 reply thread
  • Author
    Posts
    • #25779

      I would like to map one source schema to many destination schemas in the same receive port. Then receive all different mapped messages in my orchestration to do some work with all mapped messages. But I dont know how to distinguish all the mapped messages inside the orchestration and how to get access for the messages with the receive shape in orchestration.

       

    • #25780

      There is no way to perform a one to many mapping in the receive port. The pipeline uses the message type of the incoming message and will execute the first map whose source schema matches the incoming message type.
      This allows a many to one mapping and is the basis of the normalisation pattern i.e. map into an internal schema that has a processed in an orchestration the result of which can be mapped into many different output schemas if required. The output mapping can be accomplished using multiple send ports and some form of content based routing, or using a role link.

      If you wish to map a single source schema into many output schemas you will need to do this inside an orchestration or use the ESB Toolkit with a map resolver based on some message data.

      How do you decide which map to run.

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