|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WMQ, JMS and RFH2 |
« View previous topic :: View next topic » |
Author |
Message
|
Gideon |
Posted: Mon Sep 21, 2009 2:34 pm Post subject: WMQ, JMS and RFH2 |
|
|
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 |
|
 |
PeterPotkay |
Posted: Mon Sep 21, 2009 4:51 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
Gideon |
Posted: Tue Sep 22, 2009 6:01 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Tue Sep 22, 2009 6:10 am Post subject: |
|
|
 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 |
|
 |
Gideon |
Posted: Tue Sep 22, 2009 7:32 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Tue Sep 22, 2009 7:37 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|