ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Can't get BackoutCount from MQJMS API!

Post new topic  Reply to topic
 Can't get BackoutCount from MQJMS API! « View previous topic :: View next topic » 
Author Message
wen
PostPosted: Mon Sep 09, 2002 2:18 am    Post subject: Can't get BackoutCount from MQJMS API! Reply with quote

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.

Can you help please?

Many thanks,
Wen
Back to top
View user's profile Send private message
ram_2000
PostPosted: Wed Sep 11, 2002 12:56 am    Post subject: Reply with quote

Novice

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...
Back to top
View user's profile Send private message
wen
PostPosted: Wed Sep 11, 2002 2:27 am    Post subject: Reply with quote

Newbie

Joined: 09 Sep 2002
Posts: 3
Location: London

Thanks for the tip!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Can't get BackoutCount from MQJMS API!
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.