BizTalk Orchestration with multiple (Tow Way) Receive Ports to send ACKs RRS feed

  • General discussion

  • Hi everyone,

    The scenario:

    I have four receive two-way-receive-ports to receive messages from four different sources and send ACKs back to the source. The messages are from the same type. The ACKs are generated in an Orchestration.

    What is the best way to solve the problem?

    My Ideas:

    1. An Orchestration with a one logical two-way-receive-port and one receive-shape to fire the orchestration. Set the filter of the receive-shape like:

    BTS.ReceivePortName = "Port01" OR
    BTS.ReceivePortName = "Port02" OR
    BTS.ReceivePortName = "Port03" OR
    BTS.ReceivePortName = "Port04"

    And one send-shape attached to the logical two-way-receive-port.
    1.1. How can I bind the four physical receive ports on a one logical receive port? It's not possible!

    1.2. How it will work, that the correct ACK is sent to correct destination?

    2. An Orchestration with four logical two-way-receive-ports.
    2.1. How can I design an orchestration with multiple aktivated receive-shapes?

    3. Four orchestration that do the same job :(
    It works, but nor realy a good software design!

    Do you have any other suggestions?


    Thursday, May 15, 2014 6:45 PM

All replies

  • Typical solution would be 4 Receive Locations under one Receive Port.

    Then you would bind the 1 Orchestration 2 Way Port to the Receive Port in BT Admin.

    Thursday, May 15, 2014 7:38 PM
  • Thanks boatseller, it works nice. 

    Friday, May 16, 2014 9:01 AM
  • Just for me.
    How does biztalk know, wich receive location should get the ACK back?
    Friday, May 16, 2014 9:02 AM
  • The messaging engine maintains some correlation properties internally that bind the Receive Port/Location Instance, which is really the Pipeline, with the Orchestration Port instance.
    Friday, May 16, 2014 11:14 AM