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: FTP-Consumer: Handle UnknowHostException
Date Sat, 22 Sep 2012 09:15:05 GMT
On Tue, Sep 18, 2012 at 3:54 PM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
> On Tue, Sep 18, 2012 at 2:08 PM, Hilde <hilde.schwed@yahoo.de> wrote:
>> Hello Claus!
>>
>> Sorry for answering late.
>>
>> Yes, I have enabled the option /throwExceptionOnConnectFailed=true/
>> Is that ok?
>>
>
> Yeah that would be needed to allow the bridge error handler to react.
> You may also need to set maximumReconnectAttempts=0, so reconnection
> is not attempted.
>
> And you would need to implement a custom PollingConsumerPollStrategy,
> where you in the rollback throw the caused exception.
> Otherwise the bridge error handler cannot react.
>
> We may consider allowing to make this out of the box if you have
> bridgeErrorHandler enabled, as then the caused exception will routed
> in Camel and allow onException to trigger.
>

I logged a ticket about this
https://issues.apache.org/jira/browse/CAMEL-5638

>
>> Cheers
>> Hilde
>>
>>
>>
>> --
>> View this message in context: http://camel.465427.n5.nabble.com/FTP-Consumer-Handle-UnknowHostException-tp5719362p5719523.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message