Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Spilting a Message Sending in Exact Order

$
0
0

Hello All,

I am Working in a Scenario Interface where  Data is being Sent to PI from EWM and the Data Send contains Multiple Line Items which is then individually sent to SQL Database.

Now For example if PI Receives an XML for example with 3 Line Items. Suppose the First two Line Items has Quantity as 0  and the Last Line Item has a Quantity of 160. Now Ideally SQL should Receive the Data as 0,0,160 in the same order. ( Sometimes it Works Fine as SQL receives the Data in the exact Correct Order)  But in Most Cases SQL receives the Data in different Order Say Example first the Line Item with Quantity as 0 Then The Line item with Quantity as 160 and Again lastly the Line Item with Quantity as 0.

Whereas it Should be in Order of 0,0,160.

If i Monitor the Communication Channel i find that the Message with Quantity 160 gets processed successfully and Send  and Received before the Other Line item with Quantity as 0.

Can Anyone please help me as how can I solve this Glitch so that the split messages go in exactly the Same order as its present in the Receiving Payload.

 

I Tried checking the Option of Maintain Order at Runtime but then all the Messages goes into Holding state so i again have to unchecked the Option

 

Any Kind of Help is Greatly Appreciated.

 

Thank you and Merry Christmas.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>