|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQManager for single commit |
« View previous topic :: View next topic » |
Author |
Message
|
apk007 |
Posted: Mon May 17, 2010 4:10 am Post subject: MQManager for single commit |
|
|
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 |
|
 |
zpat |
Posted: Mon May 17, 2010 4:35 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Mon May 17, 2010 5:15 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|