|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XA and JMS |
« View previous topic :: View next topic » |
Author |
Message
|
Sandy |
Posted: Mon Apr 29, 2002 11:46 am Post subject: |
|
|
Newbie
Joined: 28 Apr 2002 Posts: 4
|
Does anybody have an example of an XA transaction with an MQ Manager as the transaction coordinator between a 'PUT' or 'GET' message and an update to oracle 8.1.x (i.e. oracle and MQ as resource managers). Does Java API provide XA support or JMS must be used?
If JMS is used can the MQ program that initiates the transaction be located on a different machine than the MQ Server or must be co-located on the same machine as MQ Server. I am NOT using an EJB type environment, Just Java.
An early response will be highly appreciated. |
|
Back to top |
|
 |
amurugan |
Posted: Wed May 08, 2002 12:23 am Post subject: |
|
|
Voyager
Joined: 10 Sep 2001 Posts: 75 Location: india
|
hi ,
You can do xa transactions in jms using mqseries as transaction manager with the resource manager as database . to do this you got to set get switch file program for oracle compile it and then edit the XAResourcemanager stanza in the qm.ini , the DDL for which is found in the lib/jdbc folder of your jms installation directory and then code your apis MQQueueManager .getJDBCConnection() which takes DataSource as one of the patrameters and then you can begin your transaction and proceeed . the information is available in the mqseries java pdf . kindly look into it . lemme know if this helps u . Make sure you are using the latest mqseries jms software if not download it now and then use it bcos earlier versions of mqjava does not have this facility and you will not be able to find a jdbc folder in the installed directory .
cheers,
murugan |
|
Back to top |
|
 |
sanjays30 |
Posted: Wed May 15, 2002 10:20 am Post subject: |
|
|
Novice
Joined: 05 May 2002 Posts: 18 Location: USA
|
I am using MQ JMS, Websphere, SQL Server all with XA. I can answer part of your question. I guess with JMS you need external Transaction Co-ordinator like Websphere and MQ Server and Websphere should be installed on the Same Box. That is the limitation for using XA with MQ JMS |
|
Back to top |
|
 |
amurugan |
Posted: Wed May 15, 2002 5:57 pm Post subject: |
|
|
Voyager
Joined: 10 Sep 2001 Posts: 75 Location: india
|
hi sanjay ,
since you have websphere and mq series , you can use websphere's JTA to corridnate with mqseries . just go thru the documentation . i am sure its available . let me know whether do you face any problems .
Regards,
Murugan |
|
Back to top |
|
 |
amurugan |
Posted: Wed May 15, 2002 5:57 pm Post subject: |
|
|
Voyager
Joined: 10 Sep 2001 Posts: 75 Location: india
|
hi sanjay ,
since you have websphere and mq series , you can use websphere's JTA to corridnate with mqseries . just go thru the documentation . i am sure its available . let me know whether do you face any problems .
Regards,
Murugan |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|