Hi

You are looking at the polling consumer EIP
http://camel.apache.org/polling-consumer.html

However Content Enricher EIP is also doable
http://camel.apache.org/content-enricher.html

as there is a pollEnrich DSL for that. However passing in the filename
on the URI is a bit hard to do.
There is a JIRA ticket to enhance this in the future



On Fri, Jun 4, 2010 at 5:29 AM, Carlo Camerino <carlo.camer...@gmail.com> wrote:
> Hi,
>
> Is there an ftp component that consumes a file on edemand? and not a
> polling.
>
> for example i have the file name already and want to fetch this file coming
> from an ftp server,
> how would i  route it?
>
> from("direct:getfile").to("ftp://someurl?file-name=sd?";)
>
> would this fetch a file or would this create a file on that server?
>
> thanks
> carlo
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to