ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS send behavior

Post new topic  Reply to topic
 JMS send behavior « View previous topic :: View next topic » 
Author Message
hym
PostPosted: Thu Aug 14, 2003 11:37 am    Post subject: JMS send behavior Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Thu Aug 14, 2003 3:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
bower5932
PostPosted: Mon Aug 18, 2003 7:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS send behavior
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.