activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Redelivery not working
Date Fri, 30 Oct 2015 19:33:46 GMT
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


Mime
View raw message