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 API Support » MQManager for single commit

Post new topic  Reply to topic
 MQManager for single commit « View previous topic :: View next topic » 
Author Message
apk007
PostPosted: Mon May 17, 2010 4:10 am    Post subject: MQManager for single commit Reply with quote

Apprentice

Joined: 23 Mar 2010
Posts: 25

I am using mq client with c#. I am connecting mq manager over the
network company a to company b. I would like to know even though there is no error on mq manager is there any possibility of message not
delivered to server. Are is it necessary to implement single phase
commit to make sure transaction is complete.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon May 17, 2010 4:35 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Once you receive a good return code from MQPUT, then MQ has got the message (it should be marked as persistent).

Whether or not you put under syncpoint or not, doesn't really affect this but gives you more control over when to end the unit of work. If there is a failure of the application before the commit, the message will not be sent. If you don't want this to happen, don't use syncpoint.

It will then be safely delivered once and once only, infrastructure permitting. If you want confirmation of delivery or arrival, there are options to request COD or COA messages to be returned.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon May 17, 2010 5:15 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

zpat wrote:
If you want confirmation of delivery or arrival, there are options to request COD or COA messages to be returned.


With all the usual, oft-discussed pros & cons of such messages.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 API Support » MQManager for single commit
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.