No unless you write some java code and use a consumer template etc to build the uri to use.
On Tue, Dec 15, 2015 at 3:37 PM, igor <agr...@mail.ru> wrote: > I just tried the pollEnrich method, and it works, but my problem is that it > does not access any data from the current exchange till version 2.16. > > is there a way to achieve the same in 2.15.2? > > from("queue") > .setProperty(FILE_NAME,body()) > .pollEnrich("ftp:login@host?password&fileName=${body}") > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-dynamycally-load-file-from-ftp-during-route-processing-tp5775082p5775098.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2