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 » General IBM MQ Support » Get message under syncpoint

Post new topic  Reply to topic
 Get message under syncpoint « View previous topic :: View next topic » 
Author Message
Priya
PostPosted: Sat Mar 23, 2002 2:05 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Mar 2002
Posts: 26

Hi,
When does the situation come to make Get message call under syncpoint?

Thanks
Priya
Back to top
View user's profile Send private message
mqonnet
PostPosted: Sun Mar 24, 2002 8:35 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

When does the situation come to make Get message call under syncpoint?
Syncpoint again does not have much significance, in my opinion, for a Get call, in isolation(meaning, just a get). Reason, the very purpose of having a UOW(unit of work).
Transactions are used to assure delivery/retrieval of messages. And this has to be done in conjunction. All alone, still, Put does have significance. Because we want the message to be either put on the queue or completely rolled back. If we take both put and get within a UOW, it sure does make lot of sense. Because you want to maintain integrity within the UOW, probably because you want to process a specific message. But coming to the point of a UOW just for a get does not sound of any use. Other than assuring that the message is GOT for sure or rolled back. Same case as PUT.

In short, UOW/Syncpointing is just a mechanism with which one could safely put/get a message or completely roll back. Depends on usage in your own app. More of a design issue.

Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bigdavem
PostPosted: Sun Mar 24, 2002 9:33 pm    Post subject: Reply with quote

Acolyte

Joined: 16 Sep 2001
Posts: 69
Location: Sydney, Australia

I have an application which does some heavy duty processing running MSWord. Word isn't very stable under duress, so it crashes from time to time. I use get under syncpoint control to ensure that my message will be returned to the queue if Word randomly crashes, so that I can just restart my app and not have to worry about losing my message.

Just one real-life example.
Back to top
View user's profile Send private message Send e-mail
bigdavem
PostPosted: Sun Mar 24, 2002 9:33 pm    Post subject: Reply with quote

Acolyte

Joined: 16 Sep 2001
Posts: 69
Location: Sydney, Australia



[ This Message was edited by: bigdavem on 2002-03-25 15:56 ]
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Mon Mar 25, 2002 12:13 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

You might want to coordinate a MQGET with a database INSERT using XA so that the data is either on the queue or in the database, never lost and never duplicated.

Without XA coordination, you can still use syncpoint to reduce the "window" for data loss to a minimum. I use it with a Lotus Notes program to convert MQ to Emails and want to delay committing the MQGET until the EMail has been stored successfully.
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 » General IBM MQ Support » Get message under 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.