With Camel 2.10.4 and ActiveMQ 5.7.0 I can reproduce the issue. However, by using Camel 2.10.4 and ActiveMQ 5.8.0 everything works fine for me. I updated my GitHub project [1]. Can you please verify whether you still have the issue with these versions.
[1] https://github.com/muellerc/camel-in-transaction Best, Christian On Fri, Mar 29, 2013 at 7:56 PM, Christian Müller < [email protected]> wrote: > Will try it in the next days... > > Sent from a mobile device > Am 29.03.2013 16:08 schrieb "Fladnag" <[email protected]>: > > > And can you use Camel 2.10.x? I will upgrade the examples to the latest >> > Camel version in the next day... >> >> Same issue with this environment : >> SMX 4.5.1 >> Camel 2.10.4 >> AMQ 5.7.0 >> Aries 0.3 >> Spring 3.0.7 >> >> With a fresh download of SMX 4.5.1 distribution, I just doing that : >> * Starting SMX >> * osgi:list | grep Transaction >> for found Aries Transaction Manager bundle id >> * osgi:update <aries_bundle_id> >> * copy my blueprint file to deploy >> >> The update of aries TM is necessary because without it, the bundle does >> not >> register org.springframework.transaction.PlatformTransactionManager >> interface. >> (Check with osgi:ls <aries_bundle_id>) >> >> In org.apache.aries.transaction.TransactionManagerService, the PlatformTM >> is >> registered only if we can construct a Spring transaction, but Spring >> Transaction Manager start after aries... so it don't work at startup. >> >> The stack with this environment : >> >> >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Cannot-rollback-inside-an-XASession-with-AMQ-5-6-tp5730081p5730089.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >
