[
https://issues.apache.org/activemq/browse/SMXCOMP-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Heinemann updated SMXCOMP-169:
-----------------------------------
Fix Version/s: (was: servicemix-shared-2009.01)
servicemix-shared-2009.02
> Catch throwables and not only Exceptions in BaseLifeCycle.onMessageExchange
> ---------------------------------------------------------------------------
>
> Key: SMXCOMP-169
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-169
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-common
> Reporter: Gianfranco Boccalon
> Fix For: servicemix-shared-2009.02
>
>
> When extending the ProviderEndPoint class, if the code throws a Throwable
> (not an Exception), the method BaseLifeCycle.onMessageExchange doesn't catch
> the exception because it catches only Exceptions.
> In these cases no messages are sent over the NMR.
> If I surround my code with a try/catch, it doesnt work also, because I send a
> fault message and the ProviderEndPoint tries to send the normal message.
> It's possible to change the catch block in BaseLifeCycle.onMessageExchange to
> manage also Throwables ?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.