Can I have a look at your route?
You said the client doesn't receive the response when the response, I think the 
client you means is a Camel route client, am I right?

-- 
Willem Jiang

FuseSource
Web: http://www.fusesource.com (http://www.fusesource.com/)
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang





On Wednesday, August 8, 2012 at 9:31 PM, mabahma wrote:

> 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 
> (http://Nabble.com).



Reply via email to