ProviderEndpoint support for errors
-----------------------------------

                 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


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.

Reply via email to