Posted: Fri Apr 22, 2005 8:06 am Post subject: RFH2 headers in WBIMB
Master
Joined: 16 May 2001 Posts: 255
Hi,
I have a WBIMB flow where I receive a request with a RFH2 header that I have to remove because the next app can't handle it. I remove it and store it to a queue so that I can put it back on for the reply. This works fine. I get the reply, retrieve the RFH2 header using the MQGET support pac, everything looks good. I build the reply message by copying the Input MQMD, set the Format to MQHRF2, Copy the RFH2 information, then copy the InputBody of the message. In debugger I can see that everything is being built correctly. As soon as the message leaves my compute node something gets changed. In the MQRFH2 header the <mcs><Msd>jms_text</Msd><mcd> gets changed to the following: <mcs><Msd>xml</Msd><mcd>. Also I noticed after the usr tag another Format tag gets added but it is null. The JMS app that reads this message then bombs saying invalid messagetype bytes. I don't know much about JMS but they are telling me it is because the above field is not jms_text. Has anyone come across this and if so is there a solution? Thanks in advance for any advice you can offer.
on arrival from request:
a) put request on dest queue (dest queue type mq) it will strip the RFH header.
b) clear the message payload and persist the message in the hold space
On arrival of the response
a) read the response and
b) read the message from your hold space
c1) swap payload or
c2) read all attributes from request and put on response
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