Posted: Mon Sep 09, 2002 2:18 am Post subject: Can't get BackoutCount from MQJMS API!
Newbie
Joined: 09 Sep 2002 Posts: 3 Location: London
I have used the backout count variable in the MQMessage class before using the MQ base Java classes. I am now using the MQ JMS classes however, and cannot see how to retrieve this variable. It says in table 27, section Mapping JMS Fields onto WebSphere MQ, page 239 of the WebSphere MQ using Java manual that the JMS property JMSXDeliveryCount maps to the MQMD backoutCount field. I cannot find a method/variable in any of the classes however that allows me to retrieve this variable.
Joined: 29 Mar 2002 Posts: 12 Location: Vancouver, Canada
you should be able to get this attribute with the getStringProperty() method in the Message interface.
Just try listing all the properties using the getPropertyNames() method....you will see the DeliveryCount attribute....and use this name in the getStringProperty() method...
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