Posted: Fri Nov 05, 2004 6:44 am Post subject: using MQMD - MQ native to JMS pgm
Acolyte
Joined: 21 Oct 2004 Posts: 50
In the future I plan to utilize the mqrfh2 header but for now I simply wanted to use the MQMD (base java) and put a couple strings into fields, put the message on the queue. I then want to use a jms program to read those mqmd fields and pull out the strings..I do not want to use the message body either.
trouble is, I only see one field I am able to do that with. FORMAT field, I can actually put a string in there and read it out correctly with the jms pgm.
All the other fields seem to be put by MQ itself such as appID etc..
is there one other field I can use to put this string in?
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
I would avoid using the Format since that is the field that WMQ uses to know what kind of data is in the message. What about using the ApplOriginData or ApplIdentityData fields? They are more Application specific. However, if you know you are eventually going to an RFH2, I'd suggest that you do it now. It will probably make your life easier in the long run.
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