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 » General Discussion » WMQ, JMS and RFH2

Post new topic  Reply to topic
 WMQ, JMS and RFH2 « View previous topic :: View next topic » 
Author Message
Gideon
PostPosted: Mon Sep 21, 2009 2:34 pm    Post subject: WMQ, JMS and RFH2 Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

Apparently, when a JMS cleint sends to WMQ, it puts a RFH2 header (as opposed to a standard RFH), and some programs can not understand the structure, and treat the RFH2 as part of the payload.

Is there any way to resolve this problem inside of WMQ. Is there any way to strip the RFH2, etc

Thanks
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Mon Sep 21, 2009 4:51 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Yes there is. You solve it at the sending side and not the receiving side. Suprisingly you are not the first person to have such a requirement, so you will find the problem and solution discussed on this ste already.

Its no IBM secret that we uncovered by the way. The MQ Java / JMS manual details this. http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzaw.doc/uj10120_.htm
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Gideon
PostPosted: Tue Sep 22, 2009 6:01 am    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

After reading your note and reviewing the link (and searching this site for RFH2 issues), are you basically saying Don't send JMS on the sending side ?
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Sep 22, 2009 6:10 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Make output messages non-JMS specific by using

q.setTargetClient(JMSC.MQJMS_CLIENT_NONJMS_MQ)

Use JMSTextMessages, not Bytes messages (unless handling binary data)
Back to top
View user's profile Send private message
Gideon
PostPosted: Tue Sep 22, 2009 7:32 am    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

Thanks, that should work

I just found out the RFH version is stated on the RFHUTILC, apparently not the explorer browser.

Thanks for your help
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Sep 22, 2009 7:37 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

You don't want any RFH header (in my opinion), you want MQSTR as the format in the MQMD format field for maximum compatibility.

Look at the MQMD tab in RFHUTIL. Check format is MQSTR, check the CCSID is correct for the message data. Check persistent is correct.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » WMQ, JMS and RFH2
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.