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 » Difference between The JMS transaction Local vs XA

Post new topic  Reply to topic
 Difference between The JMS transaction Local vs XA « View previous topic :: View next topic » 
Author Message
hellozen123
PostPosted: Tue Jul 05, 2016 9:00 pm    Post subject: Difference between The JMS transaction Local vs XA Reply with quote

Novice

Joined: 09 May 2016
Posts: 11

Hello,

Can anyone please highlight the difference between using Local vs XA transaction for JMS. We have message flow that access JMS queue provided by Tibco EMS via JMS Input node . IIB 10 info centre provides details of local vs XA for MQ in details only.

Thanks,
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 06, 2016 3:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

One uses local transactions.

One uses XA transactions.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
hellozen123
PostPosted: Thu Jul 07, 2016 3:48 pm    Post subject: Reply with quote

Novice

Joined: 09 May 2016
Posts: 11

Thanks mqjeff,

I just wanted to understand what difference will it make using either of these transactions styles, in the following scenario:

External JMS Provider -->JMSInput Node --> Compute Node (DB write) --> MQOutput Node (all nodes in single transaction).

In the case of error, while writing a message to the MQ queue, DB record will be rolled back and the message will not be consumed from the JMS queue. If this behaviour is same for both local and XA transaction mode, then what is the difference?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jul 08, 2016 3:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

an XA transaction is more reliable, in that it has a system acting as a resource controller, and ensures that all work happens in a global transaction.

A local transaction is handled by the Broker. In cases where the Broker or EG fails, the transaction might not be handled correctly.

It's a reasonably to significantly more complicated procedure to configure XA.
_________________
chmod -R ugo-wx /
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 » Difference between The JMS transaction Local vs XA
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.