camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel FTP Producer Issue
Date Wed, 17 Oct 2012 06:56:11 GMT
Hi

Next time post your Camel questions to the @user mailing list as we say here
http://camel.apache.org/mailing-lists.html

And see this FAQ
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html


On Wed, Oct 17, 2012 at 6:19 AM, rajivbandaru <rajivbandaru@gmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message