Hello,
I have configured JTA transactions using  Bitronix and I have used this
configurations for many years for testing my applications outside the  J2EE
container.

Now I am trying to test a simple JMS route using "transacted" attribute as
follows!



I am getting the following error!

*bitronix.tm.internal.BitronixSystemException: resource 'activemq' cannot be
used outside XA transaction scope. Set allowLocalTransactions to true if you
want to allow this and you know your resource supports this.*

I am forced to use the following property in my AMQ connection factory
configuration to get rid of the exception.

*<property name="allowLocalTransactions" value="true"/>*

Questions are:
1) Does Camel by default start a Non XA Transaction when there is only one
Resource (JMS) in the route?
2) If so, how do I force Camel to always start XA Transaction?

I appreciate in advance!

Thanks
Matt'M








-----
Thanks
Matt G. Madhavan
--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JMS-XA-Transaction-with-Bitronix-Problem-Question-tp5757206.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to