Skip to Content
0
Former Member
Oct 02, 2009 at 02:32 PM

JMS sender (mq) - MTB - XI payload issue

35 Views

JMS -> PI -> SAP (no BPM at this moment)

MQ has data like this:

(1)

JMS ID : c1....afa

Data length: 40

Message data: 11abc

(2)

JMS ID : c1....afa

Data length: 60

Message data: 22xyz...

(3)

JMS ID : c1....afa

Data length: 10

Message data: 33fghad

I want above to read into PI as:

<?xml version="1.0" encoding="utf-8"?>

<ns:MT_data xmlns:ns="http://namespace">

<Recordset>

<Header>

<key>11</key>

<f1>abc</f1>

</Header>

<Line>

<key>22</key>

<f1>xyz</f1>

</Line>

<End>

<key>33</key>

<f1>fghad</f1>

</End>

</Recordset>

</ns:MT_data>

Followed help page http://help.sap.com/saphelp_nw04/Helpdata/EN/24/4cad3baabd4737bab64d0201bc0c6c/content.htm, with xml.conversionType as StructPlain2XML to configure sender JMS channel.

It is converting to XML messages (total 3) with first payload = Header, second payload=Line and 3rd payload=End.

I tried "Correlation Settings" under "Processing Tab" of sender JMS channel to bundle Q having same JMS id (JMS ID : c1....afa) , but no help. It is NOT compiling multiple Q message data to one XI payload.

Question:

Do I need to use BPM to collect JMS data with same JMS ID so that I get header, line and End structures?

Or

Any setting need to be done in JMS sender channel - to bundle multiple JMS message to one XI payload?

Thanks

Edited by: ravi shankar on Oct 2, 2009 4:32 PM