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
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
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