|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Global Unit of Work |
« View previous topic :: View next topic » |
Author |
Message
|
Rangarajan |
Posted: Tue Jul 29, 2003 9:07 pm Post subject: Global Unit of Work |
|
|
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 |
|
 |
mqonnet |
Posted: Wed Jul 30, 2003 5:08 am Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Wed Jul 30, 2003 6:43 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|