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 » SYNCPOINT

Post new topic  Reply to topic
 SYNCPOINT « View previous topic :: View next topic » 
Author Message
Jeffrey P
PostPosted: Mon Sep 01, 2003 3:21 pm    Post subject: SYNCPOINT Reply with quote

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
View user's profile Send private message
harwinderr
PostPosted: Mon Sep 01, 2003 8:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
zpat
PostPosted: Tue Sep 02, 2003 1:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Jeffrey P
PostPosted: Tue Sep 02, 2003 2:00 pm    Post subject: Syncpoint Reply with quote

Novice

Joined: 27 Aug 2003
Posts: 20

Thanks all.... much better than the docs provide.
_________________
Jeff
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 » SYNCPOINT
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.