Posted: Wed Apr 02, 2003 5:07 am Post subject: Transactions with MQSeries Base for Java and Websphere
Newbie
Joined: 02 Apr 2003 Posts: 1
All,
I have some code already written using MQSeries Base for Java (not the JMS implementation) which I would like to run as part of an EJB within Websphere.
Is it possible to amend this application to participate in a two phase commit with other resources managedd by Websphere aka an Oracle DB.
It seems incredibly easy with JMS but I cannot seem to find anything on Base MQSeries and Websphere.
I am currently looking at Synchpoint control, but I am unsure if this would be consistent with EJB transaction management.
The MQSeries base Java classes aren't integrated with WAS for XA transactions. The problem is getting the XAResource registered with the transaction coordinator. You could probably do this by writing a wrapper around the base Java classes to provide either JDBC or JCA interfaces, however it may well be easier (and better supported) to convert your messaging code to use JMS.
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