|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SYNCPOINT |
« View previous topic :: View next topic » |
Author |
Message
|
Jeffrey P |
Posted: Mon Sep 01, 2003 3:21 pm Post subject: SYNCPOINT |
|
|
Novice
Joined: 27 Aug 2003 Posts: 20
|
Can anyone give me a better explaination than the documentation of what MQGMO_SYNCPOINT entails. All I know is that it is a sync point control, whatever that means. Thanks. _________________ Jeff |
|
Back to top |
|
 |
harwinderr |
Posted: Mon Sep 01, 2003 8:44 pm Post subject: |
|
|
 Voyager
Joined: 29 Jan 2002 Posts: 90
|
When a program gets messages from one or more queues within a unit of work, those messages remain on the queues until the program commits the unit of work, but the messages are not available to be retrieved by other programs. The messages are permanently deleted from the queues when the program commits the unit of work. If the program backs out the unit of work, WebSphere MQ restores the queues by making the messages available to be retrieved by other programs.
So when you get a message using MQC.MQGMO_SYNCPOINT (syncpoint control) the message wont be available to other applications, but it is deleted from the queue only when the unit oof work is committed. But the message is made available again if the UOW is backed out.
Later,
HR |
|
Back to top |
|
 |
zpat |
Posted: Tue Sep 02, 2003 1:03 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
The same applies to PUTs under syncpoint, the new messages remain on the output queue but are not forwarded to the destination or made available to other applications until the UoW is committed.
This can allow the backout of message puts if (for example) a database update is also backed out, and can also ensure that if an application puts several messages on to a queue for one transaction, that they either ALL go or NONE of them go, to ensure consistency. |
|
Back to top |
|
 |
Jeffrey P |
Posted: Tue Sep 02, 2003 2:00 pm Post subject: Syncpoint |
|
|
Novice
Joined: 27 Aug 2003 Posts: 20
|
Thanks all.... much better than the docs provide. _________________ Jeff |
|
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
|
|
|
|