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

Post new topic  Reply to topic
 SYNCPOINT « View previous topic :: View next topic » 
Author Message
masteringmq
PostPosted: Tue Mar 03, 2009 2:02 am    Post subject: SYNCPOINT Reply with quote

Master

Joined: 20 Oct 2008
Posts: 200

When an application uses a syncpoint then MQPUT or MQGET is contained within a unit of work.

For example, when an application puts a message into a queue and if it encounters any problem the application will roll out and remove the message from the queue. If the application does not encounter any problem then it will commit to add the message into the queue. Also when an application gets a message from a queue and if it encounters any problem the application will roll out and restore the message back to the queue. If the application does not encounter any problem then it will commit to remove the message from the queue.

MQPUT is a UOW and MQGET is a UOW. They do not function as a single unit of work but rather as a separate single unit of work.

Is this correct?.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 03, 2009 2:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What do your own experiments show?

What does the documentation say?

Where do you create a unit of work, and where do you end it?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 03, 2009 2:23 am    Post subject: Re: SYNCPOINT Reply with quote

Grand High Poobah

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

masteringmq wrote:
Is this correct?.


In some circumstances.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
masteringmq
PostPosted: Tue Mar 03, 2009 5:06 am    Post subject: Reply with quote

Master

Joined: 20 Oct 2008
Posts: 200

Im purely handling the middleware. That is why im trying to understand what the application team is telling me. . I understand that the unit of work is completed when the application commits.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 03, 2009 5:13 am    Post subject: Reply with quote

Grand High Poobah

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

masteringmq wrote:
I understand that the unit of work is completed when the application commits.


Then why post?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Pats21
PostPosted: Tue Mar 03, 2009 6:17 am    Post subject: Reply with quote

Disciple

Joined: 08 Sep 2006
Posts: 154

Well according to me Unit of Work is a set of transactions that you perform between the begining and the end of sync points.

I guess the begining of a UOW start with MQBEGIN and ends at MQCMIT or MQBACK.

So if MQCMIT is executed, whatever steps you have executed starting from MQBEGIN till MQCMIT will be commited. Similar is the case with MQBACK.
So you can basically include your MQPUT or MQGET between them.

Hope this is helpful.
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 » 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.