camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yogu13 <yogesh....@synechron.com>
Subject Camel-FTP component on cluster
Date Tue, 19 Mar 2013 09:03:45 GMT
Hi,

I would like to know if the camel-FTP component supports cluster? we have a
requirement of downloading files kept at FTP location and processing these
files once downloaded. List of Software's which are used in the
application:-

Camel - version 2.10.1 
JDK - version 1.6.37
Server - Tomcat 7

Our Camel Application is bundled into a WAR and deployed on to tomcat and
expected to run on cluster in production. According to my understanding of
the component the camel-ftp endpoint would be running on both the nodes in
tomcat cluster and would download the same files simultaneously and start
processing, which is not what we want. We would like only one of the nodes
to download the file and process it accordinly...

Please clarify if my understanding is right and also let me know options
that we have to get this functionality done using camel. 

I am also thinking on the lines of using Quartz and having it to poll ever
10 seconds to FTP location and download the file if found and process it as
Quartz supports clustering but with this option i think we will have to
write a custom processor code for checking the ftp location and downloading
instead of reusing the camel-ftp endpoint.

Thanks in advance...

Cheers!
-Yogesh




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP-component-on-cluster-tp5729403.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message