[
https://issues.apache.org/jira/browse/SMXCOMP-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated SMXCOMP-169:
-----------------------------------------
Fix Version/s: (was: 2011.01)
2011.02
> Catch throwables and not only Exceptions in BaseLifeCycle.onMessageExchange
> ---------------------------------------------------------------------------
>
> Key: SMXCOMP-169
> URL: https://issues.apache.org/jira/browse/SMXCOMP-169
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-common
> Reporter: Gianfranco Boccalon
> Fix For: 2011.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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira