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 44B1CB815 for ; Tue, 10 Jan 2012 16:44:43 +0000 (UTC) Received: (qmail 23942 invoked by uid 500); 10 Jan 2012 16:44:42 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 23826 invoked by uid 500); 10 Jan 2012 16:44:41 -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 Received: (qmail 23808 invoked by uid 99); 10 Jan 2012 16:44:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 16:44:41 +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 (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of ludalamar@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 16:44:35 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Rkeo3-0001RD-B7 for users@camel.apache.org; Tue, 10 Jan 2012 08:44:15 -0800 Date: Tue, 10 Jan 2012 08:44:15 -0800 (PST) From: Raul To: users@camel.apache.org Message-ID: <1326213855338-5134561.post@n5.nabble.com> Subject: (FTP) DefaultScheduledPollConsumer: Converts a polling consumer into an event-driven consumer instance. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I want to create a custom component (Component, EndPoint, Consumer, Producer..). This component will create a FTP Route and it will have the control to star= t and stop the FTP Route and the business logic too. The first vesion of my component is a poll Consumer. This solution doesn't like me because I have a poll (of my custom) and another poll inside (of FTP) I have read about "DefaultScheduledPollConsumer", I don't know if I can use it to create a event-driven componet that listens the file received from FT= P Route. Anybody has experience with this class? An example? Thank you. Ra=C3=BAl -- View this message in context: http://camel.465427.n5.nabble.com/FTP-Default= ScheduledPollConsumer-Converts-a-polling-consumer-into-an-event-driven-cons= umer-instance-tp5134561p5134561.html Sent from the Camel - Users mailing list archive at Nabble.com.