Posted: Mon Dec 14, 2009 9:40 am Post subject: Questions on transaction coordination
Master
Joined: 22 Sep 2006 Posts: 235
Hello, I some questions about 2-phase commit on MQ with applications under the WebSphere Application Server:
1) If my WAS is version > 6.x and my application does a JMS CLIENT lookup to MQ resources (so WAS and MQ do not sit on the same machine) I won´t need to configure the Extended Transactional Client (MQSeriesTXClient) ?
So I won´t need to refer to the MQXA* classes when opening connections factories, queue connections factories, etc.?
All the WAS-rolled back transactions will reflect both to my database as well my MQ queues, right?
2) If I have a call that relies on the MQ Base Java API (not JMS) is there a way to bind it under a 2-phase commit context controlled by WAS?
The begin()/commit()/backout() calls offered in the MQ Base Java APIs work only under single phase commit with MQ acting as the coordinator?
How to reflect changes to my database when I have an exception on the MQ calls or vice-versa? Manually under a try{}catch block according to the DB or MQ Exception that rises?
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