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 Discussion » Global Unit of Work

Post new topic  Reply to topic
 Global Unit of Work « View previous topic :: View next topic » 
Author Message
Rangarajan
PostPosted: Tue Jul 29, 2003 9:07 pm    Post subject: Global Unit of Work Reply with quote

Novice

Joined: 01 Aug 2002
Posts: 22

I went through the system administration guide to get a feel of Global unit of work.

Iam not able to clearly understand the need for Global Unit of Work.

Can anyone please help me on this.

thanx in advance

Rangarajan
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed Jul 30, 2003 5:08 am    Post subject: Reply with quote

Grand Master

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

Global UOW usually includes external participants. Such as retreiving a record from the DB and putting it on a queue needs to be co-ordinated within a UOW. In this case, either the Qmgr can act as the co-ordinator and hence managing the UOW and commits, or it can act as a participant and just accept orders from an external co-ordinator.

As opposed to Local UOW which includes only MQ as the sole participant.

Hope this helps. :)

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bower5932
PostPosted: Wed Jul 30, 2003 6:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The best example of a global UOW that I've seen is in the banking industry. You put a message that contains either a deposit or a withdrawal from an account. You want this message and the DB update of the deposit/withdrawal to be done together (ie, global UOW). If you try this with 2 local units of work, you could end up with only part of the work getting done. There are some global UOW samples on this site and there are also some on:

http://www.developer.ibm.com/tech/sampmq.html
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Global Unit of Work
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.