I am using Camel 2.4.0, ActiveMQ 5.3, Java 6u23, Spring 3.0.3.  I am having a
problem with XA rollbacks not causing redelivery or message transfer to the
dead letter queue in ActiveMQ when using Camel.  We have similar processing
in the same container that is not using Camel, and rollback and transfer to
the dead letter queue in ActiveMQ works correctly.

Attached is a log showing the processing of an error condition.  A few
retries take place, but then the JMS message seems to get lost.  No
additional retries take place, and the message does not show up in the DLQ.

Do you have suggestions on what could be going wrong?

http://camel.465427.n5.nabble.com/file/n3394458/server.log.BK server.log.BK 

The last few lines in the log show this:
2011-02-21 17:12:09,320 WARN 
[org.springframework.jms.listener.DefaultMessageListenerContainer]
(midasADUThreadPoolExecutor-4) Execution of JMS message li
stener failed, and no ErrorHandler has been set.
2011-02-21 17:12:09,321 DEBUG [org.apache.activemq.TransactionContext]
(midasADUThreadPoolExecutor-4) End: a Bitronix XID
[737072696E672D62746D0000012E4923EFF600000176 :
737072696E672D62746D0000012E4923EFF70000017A]
2011-02-21 17:12:09,322 DEBUG [org.apache.activemq.TransactionContext]
(midasADUThreadPoolExecutor-4) Ended XA transaction:
XID:1114926712:737072696e672d62746d0000012e4923eff600000176:737072696e672d62746d0000012e4923eff70000017a
2011-02-21 17:12:09,322 DEBUG [org.apache.activemq.TransactionContext]
(midasADUThreadPoolExecutor-4) Rollback: a Bitronix XID
[737072696E672D62746D0000012E4923EFF600000176 :
737072696E672D62746D0000012E4923EFF70000017A]
2011-02-21 17:12:09,323 DEBUG [org.apache.activemq.TransactionContext]
(midasADUThreadPoolExecutor-4) Start: a Bitronix XID
[737072696E672D62746D0000012E4934EF6A000016D5 :
737072696E672D62746D0000012E4934EF6B000016D7]
2011-02-21 17:12:09,323 DEBUG [org.apache.activemq.TransactionContext]
(midasADUThreadPoolExecutor-4) Started XA transaction:
XID:1114926712:737072696e672d62746d0000012e4934ef6a000016d5:737072696e672d62746d0000012e4934ef6b000016d7
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-2-4-0-XA-JMS-Rollback-tp3394458p3394458.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to