See the content enricher eip, and the pollEnrich On Tue, Dec 15, 2015 at 1:07 PM, igor <agr...@mail.ru> wrote: > I have a queue that accepts messages with file names, files are stored on > ftp. > The question is how to load the file during message processing? > > E.g. I have route like this: > > from(getProcessorQueueName()) > .setProperty(FILE_NAME,body()) > // what should I call here so camel goes to ftp and > downloads specific file for me? > .process(parseFileNameProcessor) > .process(storeFileProcessor) > > I tried recipientList call with ftp expression (e.g. > ftp://user@host?password=pass&fileName=file.txt&move=done&moveFailed=error), > but it looks like this is trying to store file instead of download it. > > Thanks in advance, Igor. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-dynamycally-load-file-from-ftp-during-route-processing-tp5775082.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