Author |
Message
|
araghav |
Posted: Tue May 21, 2002 4:06 am Post subject: Can I use transaction capability of JMS / MQ Java? |
|
|
Novice
Joined: 21 May 2002 Posts: 12
|
We want to use transaction capabality of MQSeries (single and 2 phase commit). Our application will run in client mode (JVM is not physically on same machine as MQ Series)
Which one is better choice for us? MQ Java API or MQ JMS API. SO far I am unable to figure out if MQ Java supports transaction in client mode (& 2 phase commit).
Thanks in Advance
-Ashish |
|
Back to top |
|
 |
amurugan |
Posted: Tue May 21, 2002 4:02 pm Post subject: |
|
|
Voyager
Joined: 10 Sep 2001 Posts: 75 Location: india
|
hi ashish ,
you canuse mqseries tx capability using mq base java as well as mq jms apis . if you are using mqseries as tx manager for any other resource manager kindly check for the availability of the switch file for the particular resource manager from mqseries . let me know whether am i getting across
cheers,
Murugan |
|
Back to top |
|
 |
amurugan |
Posted: Tue May 21, 2002 4:02 pm Post subject: |
|
|
Voyager
Joined: 10 Sep 2001 Posts: 75 Location: india
|
hi ashish ,
you canuse mqseries tx capability using mq base java as well as mq jms apis . if you are using mqseries as tx manager for any other resource manager kindly check for the availability of the switch file for the particular resource manager from mqseries . let me know whether am i getting across
cheers,
Murugan |
|
Back to top |
|
 |
araghav |
Posted: Fri May 24, 2002 6:34 am Post subject: Websphere is Tx manager |
|
|
Novice
Joined: 21 May 2002 Posts: 12
|
Thanks for information. I want to use WebSphere as Tx Manager and want MQSeries to participate in 2 phase commit. When I was going through MQ Java Base class description, I found that distributed transaction is not implemented yet. I know JMS supports distributed transaction.
Do I need to do something special to run JMS with XA (resource) capability from WebSphere 3.5? |
|
Back to top |
|
 |
StefanSievert |
Posted: Fri May 24, 2002 10:40 am Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
amurugan wrote: |
hi ashish ,
you canuse mqseries tx capability using mq base java as well as mq jms apis . if you are using mqseries as tx manager for any other resource manager kindly check for the availability of the switch file for the particular resource manager from mqseries . let me know whether am i getting across
cheers,
Murugan |
Murugan,
I am afraid to say that this is not quite correct. XA coordination is only available in MQ bindings mode, not if the application runs remote to the queue manager (in client mode).
Cheers,
Stefan _________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
|