you can use 'properties' when specifying routes, so it is easy to build XML (or use JavaDSL) to build your various routes and provide changing part of them using properties that could be injected by a file (or a properties object constructed from a database).
look here : http://camel.apache.org/properties.html On Wed, Apr 4, 2012 at 6:40 PM, hotash.03 <[email protected]> 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. >
