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

2013-04-02 Thread Fladnag
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

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

2013-04-01 Thread Christian Müller
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-tran

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

2013-03-29 Thread Christian Müller
Will try it in the next days... Sent from a mobile device Am 29.03.2013 16:08 schrieb "Fladnag" : > > 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

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

2013-03-29 Thread Fladnag
> 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

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

2013-03-29 Thread Fladnag
XA was needed in my real project (AMQ + BDD), the test case is just simplified ;o) I can try to upgrade camel, but it's a bit long and I (and my compagny) prefer to use a stable distribution and not a patchwork of version never tested together... but I will try. -- View this message in context:

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

2013-03-29 Thread Christian Müller
Why do you use XA? Because you only use one transactional resource, a "normal" transaction is sufficient. I recommend to have a look at [1]. And can you use Camel 2.10.x? I will upgrade the examples to the latest Camel version in the next day... [1] https://github.com/muellerc/camel-in-transactio

Cannot rollback() inside an XASession with AMQ 5.6

2013-03-29 Thread Fladnag
Hi, I have a very simple route in blueprint with 2 transactional endpoints (so, no need of ) and I have a WARN log "Cannot rollback() inside an XASession" all the time the route is up. I have fully read http://camel.465427.n5.nabble.com/OSGI-Transaction-Propagation-to-Camel-Route-td5619520i20.htm