You can turn on handleFault on the route, then any exception thrown
will become a fault message.



On Thu, Nov 7, 2013 at 11:26 AM, Delanghe Stefaan
<stefaan.delan...@c4j.be> wrote:
> Hey,
>
> First i am new to Camel. Hope not for long. :)
> A question regarding the exception arise for my current project.
>
> When I catch a particular exception
> onException(SocketTimeOutException.class)
>
> How can I convert this exception to a soapfault?
>
> Kind regards,
> Stefaan
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to