Posted: Thu Dec 23, 2004 3:17 am Post subject: Q:How to add a MQRFH header using WMQ for Java
Newbie
Joined: 24 Nov 2004 Posts: 7 Location: Netherlands
I ploughed through the WMQ for Java manual and I can't figure out how to add an MQRFH header to a message. MQRFH seems only to be mentioned in the context of JMS, but I want to create a MQRFH header in order to add application specific properties.
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
Rudolf,
there is no automatic way other then using JMS.
However... you can build the MQRFH2 yourself and put it infront of your data, don't forget to set the MQMD to MQRFH2 and then set the offset of the real application data in the MQRFH2.
Long time ago a college of mine coded this himself, but I have misplaced the code so I don't have a working sample ...
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