Hi, 

I have the following route that listens to messages on the vm q and then
ftp's the content of that file to a ftp server, simple. 

<from uri="vm:vq3"/>
        <log message="&quot;dyna ftp log&quot; ${body}"/>
        <bean ref="pdfReader"/>
        <log message="&quot;After body replace&quot; ${body}"/>
        <to
uri="ftp://admin@sdqdcstgapp12/pub/incoming/test?password=pass&amp;binary=true"/>

What bean does is puts the pdf binary content into the body using the
exchange.getOut().setBody(inputStream);

Problem is that file is written on the ftp server with no contents, I mean a
empty file. What am I doing wrong? Appreciate your thoughts. 

Thank you

 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-FTP-Producer-Issue-tp5721157.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to