cancel
Showing results for 
Search instead for 
Did you mean: 

Parse JMS message sent over MQ

Former Member
0 Kudos

hi

We are sending PI a JMS message over MQ from webmethods. PI is not able to parse the DCJMSMessageProperty0 properties of the JMS message as they say they receive the JMS message as the Payload. Any help would be appreciated in order for us to resolve this issue.

Can someone list the requirements to parse this property?

We are sending the message:

00000   52 46 48 20 00 00 00 02--00 00 01 34 00 00 01 11  |RFH .......4....|

00010   00 00 03 33 4D 51 53 54--52 20 20 20 00 00 00 00  |...3MQSTR   ....|

00020   00 00 04 B8 00 00 00 0C--3C 6D 63 64 3E 3C 2F 6D  |...¸...
<mcd></m|

00030   63 64 3E 20 00 00 00 B4--3C 6A 6D 73 3E 3C 44 73  |cd> ...´<jms><Ds|

00040   74 3E 71 75 65 75 65 3A--2F 2F 51 43 5A 49 42 42  |t>queue://QCZIBB|

00050   30 32 2F 49 42 42 5F 54--4F 5F 53 41 50 5F 4E 4F  |02/IBB_TO_SAP_NO|

00060   54 49 46 59 5F 42 41 4E--4B 5F 53 54 41 54 45 4D  |TIFY_BANK_STATEM|

00070   45 4E 54 5F 49 44 4F 43--3C 2F 44 73 74 3E 3C 45  |ENT_IDOC</Dst><E|

00080   78 70 3E 3C 2F 45 78 70--3E 3C 50 72 69 3E 3C 2F  |xp></Exp><Pri></|

00090   50 72 69 3E 3C 44 6C 76--3E 3C 2F 44 6C 76 3E 3C  |Pri><Dlv></Dlv><|

000A0   43 69 64 3E 3C 2F 43 69--64 3E 3C 52 74 6F 3E 3C  |Cid></Cid><Rto><|

000B0   2F 52 74 6F 3E 3C 47 69--64 3E 3C 2F 47 69 64 3E  |/Rto><Gid></Gid>|

000C0   3C 53 65 71 3E 3C 2F 53--65 71 3E 3C 54 6D 73 3E  |<Seq></Seq><Tms>|

000D0   31 33 37 30 38 35 35 39--35 31 32 39 31 3C 2F 54  |1370855951291</T|

000E0   6D 73 3E 3C 2F 6A 6D 73--3E 20 20 20 00 00 00 44  |ms></jms>   ...D|

000F0   3C 75 73 72 3E 3C 44 43--4A 4D 53 4D 65 73 73 61  |<usr><DCJMSMessa|

00100   67 65 50 72 6F 70 65 72--74 79 30 3E 74 65 73 74  |geProperty0>test|

00110   2E 49 44 4F 43 3C 2F 44--43 4A 4D 53 4D 65 73 73  |.IDOC</DCJMSMess|

00120   61 67 65 50 72 6F 70 65--72 74 79 30 3E 3C 2F 75  |ageProperty0></u|

00130   73 72 3E 20 74 65 73 74--0A |sr> test.       |

regards

Paul

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

You have to configure JMS sender channel to read header details,refer below blog

http://scn.sap.com/people/rajasekhar.reddy14/blog/2011/02/24/how-to-generate-extract-rfh2-header-in-...

Former Member
0 Kudos

Hi

The problem is that the below data is apart of the payload so none of these jms headers can be extracted

<jms><Ds|

00040   74 3E 71 75 65 75 65 3A--2F 2F 51 43 5A 49 42 42  |t>queue://QCZIBB|

00050   30 32 2F 49 42 42 5F 54--4F 5F 53 41 50 5F 4E 4F  |02/IBB_TO_SAP_NO|

00060   54 49 46 59 5F 42 41 4E--4B 5F 53 54 41 54 45 4D  |TIFY_BANK_STATEM|

00070   45 4E 54 5F 49 44 4F 43--3C 2F 44 73 74 3E 3C 45  |ENT_IDOC</Dst><E|

00080   78 70 3E 3C 2F 45 78 70--3E 3C 50 72 69 3E 3C 2F  |xp></Exp><Pri></|

00090   50 72 69 3E 3C 44 6C 76--3E 3C 2F 44 6C 76 3E 3C  |Pri><Dlv></Dlv><|

000A0   43 69 64 3E 3C 2F 43 69--64 3E 3C 52 74 6F 3E 3C  |Cid></Cid><Rto><|

000B0   2F 52 74 6F 3E 3C 47 69--64 3E 3C 2F 47 69 64 3E  |/Rto><Gid></Gid>|

000C0   3C 53 65 71 3E 3C 2F 53--65 71 3E 3C 54 6D 73 3E  |<Seq></Seq><Tms>|

000D0   31 33 37 30 38 35 35 39--35 31 32 39 31 3C 2F 54  |1370855951291</T|

000E0   6D 73 3E 3C 2F 6A 6D 73--3E 20 20 20 00 00 00 44  |ms></jms>   ...D|

000F0   3C 75 73 72 3E 3C 44 43--4A 4D 53 4D 65 73 73 61  |<usr><DCJMSMessa|

00100   67 65 50 72 6F 70 65 72--74 79 30 3E 74 65 73 74  |geProperty0>test|

00110   2E 49 44 4F 43 3C 2F 44--43 4A 4D 53 4D 65 73 73  |.IDOC</DCJMSMess|

00120   61 67 65 50 72 6F 70 65--72 74 79 30 3E 3C 2F 75  |ageProperty0></u|

00130   73 72 3E 20 74 65 73 74--0A |sr> test.