activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert Suconic <clebert.suco...@gmail.com>
Subject Re: Redelivery not working
Date Fri, 30 Oct 2015 19:58:46 GMT
What is the actual code doing XA? I look at the examples and I
couldn't pinpoint one.

On Fri, Oct 30, 2015 at 3:33 PM, Christian Schneider
<chris@die-schneider.net> wrote:
> I am currently doing a demo for XA transactions that should show how to
> combine JMS and JPA in one transaction.
>
> My code is at:
> https://github.com/Talend/tesb-rt-se/tree/ebook-example/examples/tesb/ebook
>
> I am pretty sure my setup for the XA Transactions is correct now. In my logs
> I see that JMS participates in the transaction and that the transaction is
> rolled back.
> See
> https://gist.github.com/cschneider/f44d5ea729379a6e19f7
>
> I would expect that now ActiveMQ redelivers the message 3 times like I set
> it up. This does not seem to work though. For each redelivery I should get
> an exception and the rollback in camel but I only see it once.
>
> This is my setup for the ConnectionFactory:
> https://github.com/Talend/tesb-rt-se/blob/ebook-example/examples/tesb/ebook/ebook-connectionfactory/src/main/resources/OSGI-INF/blueprint/blueprint.xml
>
> and this is my camel setup :
> https://github.com/Talend/tesb-rt-se/blob/ebook-example/examples/tesb/ebook/ebook-importer/src/main/resources/OSGI-INF/blueprint/blueprint.xml
>
> Any idea what I am doing wrong?
>
> Christian
>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> http://www.talend.com
>



-- 
Clebert Suconic

Mime
View raw message