|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XA or non XA |
« View previous topic :: View next topic » |
Author |
Message
|
czaszek |
Posted: Mon Jan 22, 2007 8:43 am Post subject: XA or non XA |
|
|
Apprentice
Joined: 30 May 2006 Posts: 36 Location: Poland
|
Hi All
I am to propose an architecture for a new system.
There will be one gmgr with WebLogic in one machine
and second machine also with WebLogic Application Server (but without qmgr).
The system will process three kinds of messages: two asynchronously and one synchronously (message affinity).
The question is whether I need an XA transactions for the synchronous flow. (most probably there will no DB in involved transactions).
Imagine that the second machine with WebLogic connects to the qmgr in the first machine using JMS, reads a message from Q1, process it and should put it to a queue Q2, but e.g. the Q2 is not available. So the transation should be rolled back, the message put back to Q1 (should be the first to leave).
To summarize, is the XA needed to process messages between two queues in the same queue manager with the message affinity (the order is important). Based on this decision we will need to buy additional qmgr license and install it in the second machine.
Thanks in advance for any advice. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 22, 2007 8:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
IMHO
If you've no external participants like a database then you don't need XA to control the UOW.
You might have to do some dancing to ensure the messages turn up in sequence, but that's nothing to do with XA. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jan 22, 2007 2:51 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Message affinity is most often a bad design.
If you can move all the message data into one message.
If you have to have message affinity you need to open any cluster queue with bind on open, use message grouping etc...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 22, 2007 11:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
Message affinity is most often a bad design. |
Allow me to add my voice to this most worthy & accurate sentament. Removing the affinity will remove the need to dance..... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|