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 » retun code

Post new topic  Reply to topic
 retun code « View previous topic :: View next topic » 
Author Message
maxis
PostPosted: Sat May 17, 2003 8:31 pm    Post subject: retun code Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

does jms returns a return code in the normal program execution ? ... or in other words ..how to capture the return code, in jms, after performing successful message put operation ?

fyi.. am not talking about the exception condition ..program is taking a normal execution path.


thanks
M
Back to top
View user's profile Send private message
bduncan
PostPosted: Sat May 17, 2003 10:13 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Well, I believe that if the compcode of any mq operation is nonzero, then JMS will throw an exception. However, if the compcode is 0 (indicating success) then the reason code should always be 0 as well, which is why there is no separate method for getting the reason code from an operation in JMS.
What exactly do you need the reason code on successful operations for?
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » retun code
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.