|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS send behavior |
« View previous topic :: View next topic » |
Author |
Message
|
hym |
Posted: Thu Aug 14, 2003 11:37 am Post subject: JMS send behavior |
|
|
Newbie
Joined: 25 Jul 2003 Posts: 3
|
Does anyone know why JMS QueueSender puts some garbage data in front of actual text data when it sends a message into a queue?
such like this:
00000000: 5246 4820 0000 0002 0000 00A0 0000 0111 'RFH ....... ....'
00000010: 0000 04B8 4D51 5354 5220 2020 0000 0000 '...¸MQSTR ....'
00000020: 0000 04B8 0000 0020 3C6D 6364 3E3C 4D73 '...¸... <mcd><Ms'
00000030: 643E 6A6D 735F 7465 7874 3C2F 4D73 643E 'd>jms_text</Msd>'
00000040: 3C2F 6D63 643E 2020 0000 0054 3C6A 6D73 '</mcd> ...T<jms'
00000050: 3E3C 4473 743E 7175 6575 653A 2F2F 4645 '><Dst>queue://FE'
00000060: 4E53 442F 4642 5349 2E54 2E46 454E 533C 'NSD/FBSI.T.FENS<'
00000070: 2F44 7374 3E3C 546D 733E 3130 3630 3830 '/Dst><Tms>106080'
00000080: 3736 3139 3937 313C 2F54 6D73 3E3C 446C '7619971</Tms><Dl'
00000090: 763E 323C 2F44 6C76 3E3C 2F6A 6D73 3E20 'v>2</Dlv></jms> '
Is there something to do with the format of message? If it is, how should I set the correct format?
thanks |
|
Back to top |
|
 |
EddieA |
Posted: Thu Aug 14, 2003 3:50 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
That's the RFH2 header. If you receiving application is also JMS, then it knows how to handle it.
If the receiving application is not JMS, then I would suggest using the option in the sending app that says the receiver is not JMS. That way, the RFH2 header will not be added.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Aug 18, 2003 7:08 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
For what it is worth, the option is TARGCLIENT and it has a default value of JMS. You can set it to MQ to have the RFH2 not added. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|