Hi Do you mind explain again what you want to do, its not so clear.
On Fri, Nov 21, 2014 at 3:17 PM, havoc <[email protected]> wrote: > Hello, > > I am unfortunately a camel noob and need to implement a quick fix. > > I have a route which has. > .process(new Processor() { > > @Override > public void process(Exchange exchng) throws Exception { > > String fullPathOfFileToSendViaFtp = getSomeInfoFromHeaders(); > > //What do I need to enter to the camel body and headers for Camel FTP to > Read this file, and only this //file and send it via ftp ?? > > String ftpUri = getFtpUri(); > exchng.getIn().setHeader("my.ftp.uri",ftpUri); > > } > } > ).to().recipientlist(header("my.ftp.uri")); > > Is this the right approach at all ? Do I need a FileReader in the middle ? > How do I do that ? > Nowhere did I find sufficient documentation for that.... > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-FTP-sending-a-single-file-the-simplest-way-for-a-noob-tp5759452.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
