|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Difference between The JMS transaction Local vs XA |
« View previous topic :: View next topic » |
Author |
Message
|
hellozen123 |
Posted: Tue Jul 05, 2016 9:00 pm Post subject: Difference between The JMS transaction Local vs XA |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Jul 06, 2016 3:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
One uses local transactions.
One uses XA transactions. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
hellozen123 |
Posted: Thu Jul 07, 2016 3:48 pm Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Jul 08, 2016 3:52 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|