Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Everywhere
-
Patch Available
Description
The onMessageExchange method in BaseLifeCycle only catches Exceptions. If a Throwable is thrown during processing of the Message Exchange, the transaction will not be rolled back.
As a result, the transaction keeps associated with the thread, which is returned to the thread pool. Whenever this thread is being reused, it may lead to "Already associated to a transaction" exception in any further message processing (which is not related to the actual problem in any way).
Best regards
Martin Landua
Attachments
Issue Links
- is duplicated by
-
SMXCOMP-169 Catch throwables and not only Exceptions in BaseLifeCycle.onMessageExchange
- Open