camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: onException convertions to soapFault
Date Fri, 08 Nov 2013 08:00:33 GMT
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.Delanghe@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: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message