|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
coordinated message flows |
« View previous topic :: View next topic » |
Author |
Message
|
jonny |
Posted: Thu Aug 05, 2004 4:37 am Post subject: coordinated message flows |
|
|
Acolyte
Joined: 03 Jul 2003 Posts: 57
|
Hi,
Our environment
WBIMB 5.0 CSD 3. WMQ 5.3 CSD6 - Broker running on Solaris 9, broker databse is Sybase 12.
Within flows we access two application database one exists on the same server as the broker, and the other one exists on a seperate server. after Reading the WBIMB PDF message flows, page 643 (Coordinated message flows), we decided not to use XA, which means the message flow is not fully globally-coordinated, but its fully broker-coordinated, the setting on the MQinput node is set to Transaction mode =Yes.
The message flow is working fine, is doing the commit and rollbaclk.
The question here when do we have to use XA?? and what's difference between Globally coordinated and fully broker coordinated.
Thanks |
|
Back to top |
|
 |
wooda |
Posted: Thu Aug 05, 2004 5:41 am Post subject: |
|
|
 Master
Joined: 21 Nov 2003 Posts: 265 Location: UK
|
Hi,
Anyone please correct me if I am wrong.
My understanding is that if the flow is Globally Co-ordinated (XA) then the whole flow is a single unit of work. So the whole lot gets committed (or rolled back) together upon completion by the transaction co-ordinator.
However if the flow is not globally co-ordinated but "fully broker co-ordinated" then the broker makes sure all updates are committed separately after the flow completes. In other words the broker performs a sequence of commits on database and MQ operations. So if the system were to fall over during this sequence of commits then some operations would be committed and others would not.
Similarly if the flow needed to be rolled back. Then with "fully broker co-ordinated" this would mean the broker would issue a sequence of rollbacks and could potentially be brought down in the middle of this leaving some rolled back and some not.
Like I said correct me if I'm wrong but this is my understanding of the difference.
Regards,
- Alex |
|
Back to top |
|
 |
jonny |
Posted: Fri Aug 06, 2004 5:43 am Post subject: |
|
|
Acolyte
Joined: 03 Jul 2003 Posts: 57
|
|
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
|
|
|
|