Agreed - the critical thing here is to figure out what's happening with the
rollback and/or message state and get it fixed.

Actually, while trying to track down semantics of EJB and JTA, I opened the
API docs for createSession() here:

https://docs.oracle.com/javaee/7/api/javax/jms/Connection.html#createSession-boolean-int-

The semantics with EJB are very interesting - this is a configuration I've
never personally used nor looked into before.  Notice especially the
heading, "In the Java EE web or EJB container, when there is no active JTA
transaction in progress".  And before that, "In a Java EE web or EJB
container, when there is an active JTA transaction in progress".

Can you confirm whether a JTA transaction is "in-progress"?





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Message-not-redirected-to-DLQ-when-exception-thrown-by-MDB-tp4709187p4709261.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to