You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2008/10/21 09:32:52 UTC
[jira] Updated: (SM-1310) Catch throwables and not only Exceptions
in BaseLifeCycle.onMessageExchange
[ https://issues.apache.org/activemq/browse/SM-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang updated SM-1310:
-----------------------------
Fix Version/s: 3.3.1
3.4
(was: 3.3)
(was: 3.2.3)
> Catch throwables and not only Exceptions in BaseLifeCycle.onMessageExchange
> ---------------------------------------------------------------------------
>
> Key: SM-1310
> URL: https://issues.apache.org/activemq/browse/SM-1310
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-common
> Affects Versions: 3.1.2
> Reporter: Gianfranco Boccalon
> Fix For: 3.3.1, 3.4
>
>
> 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.