Throwable is not cought in BaseLifeCycle which can result in open transactions
------------------------------------------------------------------------------
Key: SM-1120
URL: https://issues.apache.org/activemq/browse/SM-1120
Project: ServiceMix
Issue Type: Bug
Components: servicemix-common
Affects Versions: 3.1
Environment: Everywhere
Reporter: Martin Landua
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.