Hello
I am trying to build a route to get a file from a remote ftp , consume it
and put the contents of the file into the message.
Currently i have this config
<route>
<description>FTP route</description>
<from
uri="ftp://[email protected]/?password=somepw&recursive=true&initialDelay=20&delete=true&binary=false"/>
<to uri="activemq:somequuee"/>
</route>
I do not know if i am attacking this things the right way. It does gets
consumed but i basicly have a empty message with some information regarding
the file, but i would have espected the contents of the file which is a xml
file in this case to be inside the message. Could somebody point me into the
right direction?
After that i tried something like this
<route>
<description>Asics FTP route</description>
<from
uri="ftp://[email protected]/?password=somepw&recursive=true&initialDelay=20&delete=true&binary=false"/>
<to uri="file:/somedir"/>
</route>
<route>
<description>Asics File route</description>
<to uri="file:/somedir"/>
<to uri="activemq:somequuee"/>
</route>
With the same result.
--
View this message in context:
http://camel.465427.n5.nabble.com/camle-ftp-file-to-activemq-message-tp5717598.html
Sent from the Camel - Users mailing list archive at Nabble.com.