If the messages are going from from a non-JMS application to a JMS application, somewhere along the way an RFH2 header needs to be constructed. Trying to do it in the sending application or in MQIS is the hard way. Just send a message without the RFH2 header and the JMS receiver will do it automatically by pulling appropriate info out of the MD.
Probably the reason JMS is having difficulty without a JMS header on the inbound message is because of the way JMS transforms msgid and correlid with an "ID:" prefix when it builds the RFH2 header. It may take som futzing to figure out exactly how to get JMS to match on correlid, but you definitely don't need an RFH2 header to do it. regards -----Original Message----- From: DeBlassio, Joe [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 7:30 PM To: [email protected] Subject: MQSI 2.1 RFH2 Header for JMS - Help Hello, I am working with some JMS Developers on a Request Reply Application. This application sends a request thru mqsi (where conversion from xml to copybook occurs) to the mainframe. The mainframe sends the reply back to mqsi (where copybook to xml conversion occurs) and on to JMS where JMS matches on Correlid. I have verified that the Correlid is making the round trip. Unfortunately, JMS can't seem to pull the message off the Q without there being an RFH2 Header with jms.Cid equaling the Correlid. Now that JMS is pulling the message off of the Q, it bombs. Apparently, JMS is looking for a text message, but since the RFH2 Header exists, it considers the entire message to be in Byte Format. Being an MQ person, I am interpreting for our JMS Developers. Did something get missed in MQSI? Would someone be willing to share some MQSI code that builds the RFH2 Header for jms? Any thoughts and directions would be greatly appreciated. Thanks once again for any help. Joe Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
