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 » General Discussion » XA or non XA

Post new topic  Reply to topic
 XA or non XA « View previous topic :: View next topic » 
Author Message
czaszek
PostPosted: Mon Jan 22, 2007 8:43 am    Post subject: XA or non XA Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Jan 22, 2007 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Jan 22, 2007 2:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jan 22, 2007 11:55 pm    Post subject: Reply with quote

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
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 » General Discussion » XA or non 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.