Receive Port & Receive Location

Home Page Forums BizTalk 2004 – BizTalk 2010 Receive Port & Receive Location

Viewing 1 reply thread
  • Author
    Posts
    • #21047

      Hello there,

      Is it possible to have more than two receive locations in an single receive port. By default when we create a location under an receive port, it is primary one, when we add another location and makes it primary the existing one becomes secondary. But when there are more than two, then what is the order to execute the rest of primary locations.

      Please reply, thanks alot in advance.

      regards

      harry

       

    • #21051

      Yes, you can have as many receive locations as you want in a receive port.  There is not any order among the receive locations.  The receive locations execute whenever they receive messages.  

      • #21056

         Hello Rusel,

        Thanks for the reply. I want to know, what are the possible ways for receiving same message twice using two different ports or with single port having single or multiple operations..

        What could be the complications i will face?

        My requirement is such, that i want to receive same message twice anyhow!!

        Please help, thanks alot in advance.

        Regards,

        harry

        • #21059

          Receiving a message twice is no problem.  BizTalk is designed with such requirements in mind.  BizTalk uses a publish/subscribe model.  You only need a single receive location to receive the message.  When the message is received the location publishes the message into the message box.  To receive the message twice you just need two subscribers (send ports or orchestrations).  To configure an orchestration to subscribe to the receive location you could either bind it to the receive port or use a filter on the orchestration receive shape.  To configure a send port to subscribe you have to use a filter expression.  Example:  BTS.ReceivePortName = “MyReceivePortName”.

          • #21060

            Hello Rusel,

            Thanks for the reply, but I didn’t understood it, could you please be more precise on this?

            Do i need two orchestrations for this ?

            Thanks in advance

            • #21061

              Yes, two orchestrations could do it.  If you create two orchestrations and bind them to a single receive port, then when the receive port receives a message, each orchestration will receive a copy of it.  Thus, you have received the same message twice.  Is this making more sense or should I elaborate?  If you want me to elaborate, could you give some more details about why you need to receive the message twice and what you want to do with it?

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