Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5A9DD6E0 for ; Sat, 22 Sep 2012 09:15:53 +0000 (UTC) Received: (qmail 11362 invoked by uid 500); 22 Sep 2012 09:15:53 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 11321 invoked by uid 500); 22 Sep 2012 09:15:52 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 11309 invoked by uid 99); 22 Sep 2012 09:15:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 09:15:52 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 09:15:46 +0000 Received: by lbbgm13 with SMTP id gm13so6006397lbb.32 for ; Sat, 22 Sep 2012 02:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=zU+PQl/409jw1HeHqdSUfqabqz46Wkms1rTquob+8t0=; b=HC0BO7AuciEpwbBlDm8/K+g1/5lV+ekZNXTV7jyG6ywwfTjLfXrHcc0mslXXug9SER vnUmYsWhb4bZkgEikulQaKiSQbJn0b1k6IISxOatTg110YstXAaAk0JOeKBcru59ieiJ xKdYGKl1YXDo810tdkLVWr6+NSl+UZOEzkY6/1X+XwQ6Q4VQMH/JVHPZj172XVApVmYE lb5yYMLiqCeT6UxAsVb1XJ3Y85jYoc9LSEMIhBNXTg0CWpGmIwqgSmrm6Ja6uO0uijNi zblxFtqI6w/pj/c4C86uZjV6k/vCW46M8elHaopK2oWKd2AxPLzXSYR5B/YP72yEKII7 foNA== Received: by 10.112.26.197 with SMTP id n5mr2544988lbg.18.1348305325505; Sat, 22 Sep 2012 02:15:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.7.230 with HTTP; Sat, 22 Sep 2012 02:15:05 -0700 (PDT) In-Reply-To: References: <1347623413964-5719362.post@n5.nabble.com> <1347634305916-5719375.post@n5.nabble.com> <1347970090194-5719523.post@n5.nabble.com> From: Claus Ibsen Date: Sat, 22 Sep 2012 11:15:05 +0200 Message-ID: Subject: Re: FTP-Consumer: Handle UnknowHostException To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Tue, Sep 18, 2012 at 3:54 PM, Claus Ibsen wrote: > On Tue, Sep 18, 2012 at 2:08 PM, Hilde 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