Re: List of files from FTP when in route?

2010-08-18 Thread Claus Ibsen
can do this in a loop and use the receiveNoWait which returns null when there are no more messages. -- View this message in context: http://camel.465427.n5.nabble.com/List-of-files-from-FTP-when-in-route-tp2636788p2638154.html Sent from the Camel - Users mailing list archive at Nabble.com

Re: List of files from FTP when in route?

2010-08-17 Thread Andreas Asmuss
this but obviously this just returns one file. String input = consumer.receive(file:c:\\test).getIn().getBody(String.class); -- View this message in context: http://camel.465427.n5.nabble.com/List-of-files-from-FTP-when-in-route-tp2636788p2638154.html Sent from the Camel - Users mailing list

List of files from FTP when in route?

2010-08-16 Thread Andreas Asmuss
this otherwise pretty simple operation - maybe Camel is unsuited? The alternative is to design in a different way I suppose. -- View this message in context: http://camel.465427.n5.nabble.com/List-of-files-from-FTP-when-in-route-tp2636788p2636788.html Sent from the Camel - Users mailing list archive