You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christian Müller <ch...@gmail.com> on 2013/04/01 14:22:17 UTC

Re: Cannot rollback() inside an XASession with AMQ 5.6

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 <
christian.mueller@gmail.com> wrote:

> Will try it in the next days...
>
> Sent from a mobile device
> Am 29.03.2013 16:08 schrieb "Fladnag" <fl...@zerezo.com>:
>
> > 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.
>>
>

Re: Cannot rollback() inside an XASession with AMQ 5.6

Posted by Fladnag <fl...@zerezo.com>.
Ok, it works with AMQ 5.8.

But we can't use this version in our project (neither SMX 4.5.1 and camel
2.10.4 in fact).

Just for this simple test, I have to deal with some issues like 



probably due to bad dependencies like
https://issues.apache.org/jira/browse/CXF-4926, fixed last week : AMQ 5.8 is
too young for a stable version...

activemq-web-console for example was broken since 5.6 :
https://issues.apache.org/jira/browse/AMQ-3853 : bug in 5.6, fixed in 5.7
https://issues.apache.org/jira/browse/AMQ-4229 : bug in 5.7, unresolved

So, we will probably try to avoid using XA in our project :/

Thanks for you efforts




--
View this message in context: http://camel.465427.n5.nabble.com/Cannot-rollback-inside-an-XASession-with-AMQ-5-6-tp5730081p5730192.html
Sent from the Camel - Users mailing list archive at Nabble.com.