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 » XA Transactions on WMQ 7.0

Post new topic  Reply to topic
 XA Transactions on WMQ 7.0 « View previous topic :: View next topic » 
Author Message
skrv
PostPosted: Wed Aug 27, 2014 8:48 am    Post subject: XA Transactions on WMQ 7.0 Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

Hi,

We have MQ onZ-Linux system and is at version 7.0. We have message broker at 8.0.

In our environment all applications use WAS and use BINDINGS mode to connect to MQ. Client connections are not allowed.

We want to know what we need to do at MQ side, if an application wants to use XA transactions?

application will be deployed on WAS 8.0 and also use oracle DB at backend.

We need help to understand XA transaction and how to setup on MQ 7 on Z-Linux.
Back to top
View user's profile Send private message
skrv
PostPosted: Wed Aug 27, 2014 9:42 am    Post subject: Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

Just wanted to let you know about hoe message will flow as well.

Message from app running on WAS --> Message comes to Broker QMgr --> message goes to backend application queue running on WAS again ---> backend application reads the message ----> backend application communicates with Oracle database ----> backend application puts the reply back to broker queue ------> broker flow forwards the reply back to application where it came from.

So if you see the broker in between doesnt contact the oracle database. the backend WAS application connects to oracle DB.

So considering above setup we want to know - if application wants to use XA transactions, what exactly we need to do at MQ level.

also we have 2 full repository queue managers just to let you know.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 27, 2014 9:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Nothing to be done on MQ. I expect the application on WAS to be J2EE and the mdb descriptor will determine transactionality...
At this point you want to think more about compensating transactions...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
skrv
PostPosted: Wed Aug 27, 2014 11:00 am    Post subject: Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

So you mean to say we don't need to setup any thing at MQ level to support XA transactions as MQ/Nroker doesn't connect directly to Oracle database?

Applications are JMS applications deployed on Web sphere application server 8.0.

Since WAS connect to Oracle DB, both WAS and DB needs to be configured to support XA transactions? and not MQ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 27, 2014 11:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

skrv wrote:
So you mean to say we don't need to setup any thing at MQ level to support XA transactions as MQ/Nroker doesn't connect directly to Oracle database?

Applications are JMS applications deployed on Web sphere application server 8.0.

Since WAS connect to Oracle DB, both WAS and DB needs to be configured to support XA transactions? and not MQ?

MQ will support the WAS XA transaction. Remember you have to declare an XAConnectionFactory to WAS.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
skrv
PostPosted: Wed Aug 27, 2014 11:16 am    Post subject: Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

declare an XAConnectionFactory to WAS is supposed to be done on WAS JVM settings right? not on MQ side?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 27, 2014 6:13 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

skrv wrote:
declare an XAConnectionFactory to WAS is supposed to be done on WAS JVM settings right? not on MQ side?

It is part of the WAS MQ JNDI setup.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
skrv
PostPosted: Thu Aug 28, 2014 12:14 pm    Post subject: Reply with quote

Centurion

Joined: 26 Oct 2012
Posts: 118

Thanks.

We will contact WAS admin to make these changes.
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 » XA Transactions on WMQ 7.0
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.