Posted: Mon Jan 17, 2005 8:26 am Post subject: Getting entire MQMD
Newbie
Joined: 31 Jul 2002 Posts: 6
I am still fairly new to coding Java against MQSeries, but I am trying to figure out if there is a way to get the entire message (including message descriptor) when doing a get. Is this possible, or do I need to create variables for each of the MQMD fields and string them together.
I assume you are talking about using the base MQ java classes and not JMS. There is a good sample you can look at that accesses the message and all possible message attributes. Go to http://www.developer.ibm.com/tech/sampmq.html and search for amqsbcg.java
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