camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeraj Mahajan <neeraj.maha...@specsavers.com>
Subject Issue with using multiple transaction managers of different types on two different routes in same camel-context.xml
Date Fri, 22 Feb 2013 09:59:41 GMT
I have one camel route which is listening on an Activmq consumer endpoint and
calls another direct route which do some persistence work.

In the first route i have injected transaction policy which is using JMS
transaction manager and in the second route I have intected other
transaction policy which is using Hibernate transaction manager.

The issue I am facing is my transaction policy for Hibernate transaction
manager is not working when I am using transaction policy for JMS
transaction manager in the first route.

If i remove the JMS transaction policy in the first route, my Hibernate
transaction policy works in the second route.

This problem I am facing in camel 2.6 , but in camel 1.6 everything is
working perfectly.

Please suggest.



--
View this message in context: http://camel.465427.n5.nabble.com/Issue-with-using-multiple-transaction-managers-of-different-types-on-two-different-routes-in-same-cal-tp5728012.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message