Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 705D6DC9F for ; Tue, 19 Mar 2013 09:05:39 +0000 (UTC) Received: (qmail 94248 invoked by uid 500); 19 Mar 2013 09:05:39 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 94082 invoked by uid 500); 19 Mar 2013 09:05:38 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 87599 invoked by uid 99); 19 Mar 2013 09:04:12 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Date: Tue, 19 Mar 2013 02:03:45 -0700 (PDT) From: yogu13 To: users@camel.apache.org Message-ID: <1363683825962-5729403.post@n5.nabble.com> Subject: Camel-FTP component on cluster MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.