One activating receive shape receives multiple messages in the same instance

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › One activating receive shape receives multiple messages in the same instance

Viewing 0 reply threads
  • Author
    Posts
    • #20079

      Consider the following scenario:

      One parallell convoy with two activating receive shapes. I want each of the two receive shapes to receive one message each and process these. There is a correlation set between these two shapes. Ive built parallell convoys before so no problems there. My problem here is that my receive shapes receive multiple messages per instance. Instead of creating a new instance per message-pair, multiple messages are received per receive shape in the same orchestration instance and this breaks my logic.

      The messages are correlated like this:

      ReceiveA receives an order file.

      ReceiveB receives an address file.

      Each address file has a field called address_id. Each order file has a reference to a address_id. The correlation is based on the field address_id such that an order file and an address file with the same address_id should be processed together.

      Problem is that there could be multiple order files with the same address_id (different orders going to the same address) and for each order there will be one address_file (meaning there could exist multiple identical address files). I get these files (flat files) from a very old legacy system som changing that one is out of the question.

      With my current setup I my ReceiveA receives all order files with the same address_id and ReceiveB receives all address files with the same address_id in the same orchestration instance. What I need is that each order-address pair starts their own orchestration instance.

      Help!

       

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