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.

Reply via email to