You will need a transaction manager:
http://en.wikipedia.org/wiki/Java_Transaction_API#JTA_implementation_of_the_X.2FOpen_XA_architecture
for coordinating the transactions between the XAResources.

Atomikos is one such transactionmanager - jotm another one.

Atomikos has a configuration guide here:
http://www.atomikos.com/Documentation/SpringIntegration.
There are also some pointers on the site for specific resources (like WMQ).

2012/3/5 dmhatre <darpan27...@gmail.com>:
> Thank you Claus and Babak for the reply.
>
> I am running this as a standalone application (not in java ee server). And I
> need to implement global transaction using JTA Do I need to use JOTM or
> Atomikos etc. Also I am using Java DSL instead of spring
> and all the explanation in the book is using spring. It will be really
> helpful if someone can help me with snippet to configure JTA (XA) in java.
>
> Thanks in Advance.
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/help-with-websphere-MQ-with-XA-transaction-Sample-code-below-tp5532697p5538436.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Reply via email to