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 IBM MQ Support » MQ Configuration for XA using BEA 8.1?

Post new topic  Reply to topic
 MQ Configuration for XA using BEA 8.1? « View previous topic :: View next topic » 
Author Message
RegSherwood
PostPosted: Wed Sep 16, 2009 11:12 am    Post subject: MQ Configuration for XA using BEA 8.1? Reply with quote

Newbie

Joined: 16 Sep 2009
Posts: 1

Hi

I am not overally familiar with MQ and transactional processing but am hoping someone can at least point me in a direction.

What I am trying to deal with is the configuration of a MQ Series so that it is involved in global transactions (XA) - so far I have had little luck in finding clear documentation around this.

My env is comprised of the following:

DB - MS SQL Server 2005

BEA WLS 8.1 Node 1
contains MDBs (uses session beans)
MDB 1
MDB 2
BEA WLS 8.1 Node 2
contains MDBs (uses session beans)
MDB 1
MDB 2

MQ Series Server V7.0

What I want to setup is MQ so that it particpates in the global transaction that is happening on the BEA nodes. I see references in the MQ Explorer to XA Resource manager - and asking about switches and such - but I am at a loss to understand what gets placed in there.


What I am trying to determine (if it's possible) is the following scenario:

A JMS message from a client is placed on a queue - MDB1 (on either Node1 or Node 2) polls for messages and one of the MDB1s receives the message. During the processing of MDB1 it performs numerous DB updates - the final step in MDB1 is to place a NEW JMS message onto another JMS queue. This new message will be processed by MDB2 (Node 1 or Node 2). But, I don't want MDB2 to start processing of this message until after the MDB1 database changes are written to within its transaction. If the updates to the database fail (for whatever reason) I want the new JMS message removed from the queue. Currently, the original JMS message receives a runtime exception and is placed back on the original JMS queue and will be processed again... but, MDB2 has received the new message and has attempted to process it anyways.

Does the MQ have the capability to block the concept of a dirty read within its transactional model. or am I off my rocker here from a transactions point of view around JMS message creation.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 16, 2009 11:19 am    Post subject: Re: MQ Configuration for XA using BEA 8.1? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

RegSherwood wrote:
so far I have had little luck in finding clear documentation around this.


Look up "transactional support" in the System Administration Manual. It describes the switch file and other changes, depending on how you're performing the XA co-ordination.

You'll also find a number of posts on this forum discussing this.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 16, 2009 11:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/jm40010_.htm
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 IBM MQ Support » MQ Configuration for XA using BEA 8.1?
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.