Hello

We have a client sending a request to a CXF WS endpoint 

MessageContentsList messageContentsList = (MessageContentsList)
template.requestBodyAndHeaders( uri,message));
                 // wait for the route to complete 

 then Camel route the message to a processor where we check for Exceptions
like this :


} catch (Throwable xEx) {

        fault = new Fault(xEx);
        exchange.getOut().setFault(true);
        exchange.getOut().setBody(new Object[] { "Exception raised ! KO" });

}

The porblem is that When an exception is thrown , the client doesn't receive
the message with the message "Exception raised ! KO"" we set in the body. We
get a empty response.


have we missed something ?
Kind regrads,



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-Exception-Fault-Handling-tp5716985.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to