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 » WebSphere Message Broker (ACE) Support » coordinated message flows

Post new topic  Reply to topic
 coordinated message flows « View previous topic :: View next topic » 
Author Message
jonny
PostPosted: Thu Aug 05, 2004 4:37 am    Post subject: coordinated message flows Reply with quote

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
View user's profile Send private message
wooda
PostPosted: Thu Aug 05, 2004 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message
jonny
PostPosted: Fri Aug 06, 2004 5:43 am    Post subject: Reply with quote

Acolyte

Joined: 03 Jul 2003
Posts: 57

Thanks Alex for your reply.
I think you are right, you can check this link for more explanation. We have decided not to use XA unless we have a specific application requirement to use XA.
http://www.mqseries.net/phpBB2/viewtopic.php?t=11525&highlight=uow
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 » WebSphere Message Broker (ACE) Support » coordinated message flows
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.