camel is using uri to the endpoint description (it supports different transport protocol out of box), you just need to setup your route dynamically with the different uri like this

from("ftp://xxx";).to("xxx")

from("sftp://xxx";).to("xxx")

etc.

On 4/5/12 12:40 AM, hotash.03 wrote:
Hi Camel team,

We are looking at building a system that fetches file from FTP,SFTP, S3,
HTTP.
In addition I should be able to support any other mode of fetching files
like web-services. (I am ready to write custom code for special use-cases.
But does camel support it?)
Also, it should be easy to read config files and fetch files given in that
config file.

Also , all the transportation level protocols that I mentioned above need to
read a config file/database and poll a server/file combination at time t.
(specified in the config file/database)

Is Camel the right way to proceed for this and if yes, can you guide me on
how do I proceed further from here?

-Deepan

--
View this message in context: 
http://camel.465427.n5.nabble.com/is-it-possible-to-Poll-a-file-periodically-with-different-endpoints-tp5618359p5618359.html
Sent from the Camel - Users mailing list archive at Nabble.com.
.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to