This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Websphere and the fly likes How to determine which is a XA resource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to determine which is a XA resource" Watch "How to determine which is a XA resource" New topic
Author

How to determine which is a XA resource

Ashwin Sridhar
Ranch Hand

Joined: Jul 09, 2011
Posts: 272

Hi,

I operate on two resources, a database and a jms queue. How to find which of these resources is XA resource.

or, Is a JMS always a XA reource...?

In case of JDBC, I found from environment variables if its XA or not.

How to determine if my Queue is a XA resource or not.


Ashwin Sridhar
SCJP | SCWCD | OCA
Ashwin Sridhar
Ranch Hand

Joined: Jul 09, 2011
Posts: 272

Any suggestions
Murali Surampalli
Greenhorn

Joined: Oct 27, 2011
Posts: 3
For JMS, if you use SIBus/Websphere MQ, its always going to be XA. For JDBC, it depends on your driver type whether it is XA Datasource or PooledDatasource.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to determine which is a XA resource
 
Similar Threads
Distributed transactions in EJB
Websphere, Entity bean called by MDB
Disributes Transactions in EJB
JMS outside of EJB container in Websphere 5.0
mock exam + MDB transaction