camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brianlmartino <brian_mart...@yahoo.com>
Subject Re: Why doesn't camel throw an error for invalid file or invalid ftp?
Date Tue, 02 Dec 2014 16:40:35 GMT
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.

Mime
View raw message