camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Camel-FTP component on cluster
Date Tue, 19 Mar 2013 11:23:54 GMT

This has been debated before about cluster Camel. Maybe you can search
the forum and find some of these talks.

You can use a route policy to control which route is master / slave etc

And use some different technologies for that such as quartz,
hazelcast, zookeeper, et all.
Or write some custom code etc.

And in Fuse ESB Enterprise there is a Camel master component out of
the box that does this for you.

Though an alternative is to use a shared idempotent repository that
the ftp consumer can use.
That is a bit special as the file/ftp consumer has this functionality
built-in. Not all Camel consumers offers that.
And hence why a general solution with the route policy can be used.

On Tue, Mar 19, 2013 at 10:03 AM, yogu13 <> wrote:
> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message