[ 
https://issues.apache.org/jira/browse/SMXCOMP-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gert Vanthienen updated SMXCOMP-169:
------------------------------------

    Fix Version/s:     (was: 2011.02)
                   2012.01

Deferring to 2012.01
                
> 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: 2012.01
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to