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 81D6A10299 for ; Tue, 2 Dec 2014 16:41:04 +0000 (UTC) Received: (qmail 79804 invoked by uid 500); 2 Dec 2014 16:41:04 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 79752 invoked by uid 500); 2 Dec 2014 16:41:03 -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 79741 invoked by uid 99); 2 Dec 2014 16:41:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 16:41:03 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 162.253.133.43 is neither permitted nor denied by domain of brian_martino@yahoo.com) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 16:40:37 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 48A79BF053E for ; Tue, 2 Dec 2014 08:40:36 -0800 (PST) Date: Tue, 2 Dec 2014 09:40:35 -0700 (MST) From: brianlmartino To: users@camel.apache.org Message-ID: <1417538435314-5759963.post@n5.nabble.com> In-Reply-To: <1417534982419-5759957.post@n5.nabble.com> References: <1417534982419-5759957.post@n5.nabble.com> Subject: Re: Why doesn't camel throw an error for invalid file or invalid ftp? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Using camel 2.0 , passing just a single file needs special syntax. Camel will ignore the route if the file isn't found. @Override public void configure() throws Exception { from("file:.?fileName=pom.xml"). to("ftp://noone@nowhere:22/wth?password=test"); } This post is now closed. -- View this message in context: http://camel.465427.n5.nabble.com/Why-doesn-t-camel-throw-an-error-for-invalid-file-or-invalid-ftp-tp5759957p5759963.html Sent from the Camel - Users mailing list archive at Nabble.com.