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 A6B27182C1 for ; Wed, 19 Aug 2015 17:19:11 +0000 (UTC) Received: (qmail 28012 invoked by uid 500); 19 Aug 2015 17:19:11 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 27964 invoked by uid 500); 19 Aug 2015 17:19:11 -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 27952 invoked by uid 99); 19 Aug 2015 17:19:10 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2015 17:19:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 82BCCDF3C4 for ; Wed, 19 Aug 2015 17:19:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.099 X-Spam-Level: X-Spam-Status: No, score=-0.099 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id lBK9CClgvAwc for ; Wed, 19 Aug 2015 17:18:55 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id BD48020F51 for ; Wed, 19 Aug 2015 17:18:55 +0000 (UTC) Received: by iodt126 with SMTP id t126so16935626iod.2 for ; Wed, 19 Aug 2015 10:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=o7gBIvmDSUkE8Fg/cZEa0VYNROFM5QcCl7zL8WDnH7g=; b=wVcPWMJ2Fj8x+68veIjvQDOlveqmYsSUoW4R/RuPxZmdQ7ch0C1oneCX3tMfgASQ3I u1FugnWmjdUwsZO3NSOqKuRjiw2NNrR4YODX2tK9fv3kXf8p6eRVi2DZOhcce91a9NnP TqKrodmwG5CS369fQ9IOYjEjdd9jlNhw2DK0zALlrJcLo+CSRcsmi6L14EQobFCQsbdI gGIS2PE6tz1HCpw4jsm5O1Luu6dxoBM62WQxWlHgTbHmu1xcLX4Om3ej2gNzCEfXPIxh o0r8A/FQmGjHfRHUpCPx+5CJyYLuARYoWDi6vEOeRjQVxpSskRKD5xiqMFfymx592D6X UBQA== X-Received: by 10.107.135.79 with SMTP id j76mr12731101iod.29.1440004735040; Wed, 19 Aug 2015 10:18:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.76.142 with HTTP; Wed, 19 Aug 2015 10:18:35 -0700 (PDT) In-Reply-To: <8BA251EE1CA284419DC81972801673FC188C8DF1@us-voo-mb01.internal.sungard.corp> References: <8BA251EE1CA284419DC81972801673FC188C8DF1@us-voo-mb01.internal.sungard.corp> From: Claus Ibsen Date: Wed, 19 Aug 2015 19:18:35 +0200 Message-ID: Subject: Re: File watcher and FTP using Camel To: "users@camel.apache.org" Content-Type: text/plain; charset=UTF-8 Hi There is a ftp example in the Camel distribution https://github.com/apache/camel/tree/master/examples On Wed, Aug 19, 2015 at 5:22 PM, wrote: > Hello Camel Experts, > I am new to Camel, I would like implement File watcher and FTP using Camel, can someone point me to Camel tutorial how this can be achieved? > > Need is to watch or keep on polling a folder on Unix or windows and FTP files as they appear. This should happen 24/7 would need suggestion on what approaches can be used to keep it running on windows and Unix. > > If need to create a service on windows for this ? is there camel functionality for this? > Or is it a good idea to add a Cron job or entry in rc.sh ? I am not a Unix expert though. > > Thank you for your help > > -G -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: http://www.manning.com/ibsen2