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 2E71C18C3A for ; Mon, 1 Feb 2016 17:08:50 +0000 (UTC) Received: (qmail 76596 invoked by uid 500); 1 Feb 2016 17:08:46 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 76547 invoked by uid 500); 1 Feb 2016 17:08:46 -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 76536 invoked by uid 99); 1 Feb 2016 17:08:46 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 17:08:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id EAF191A00E8 for ; Mon, 1 Feb 2016 17:08:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id f6LL3zybJtY5 for ; Mon, 1 Feb 2016 17:08:36 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id C04D020271 for ; Mon, 1 Feb 2016 17:08:36 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 7610B1FB5606 for ; Mon, 1 Feb 2016 09:03:39 -0800 (PST) Date: Mon, 1 Feb 2016 10:08:35 -0700 (MST) From: fxthomas To: users@camel.apache.org Message-ID: <1454346515396-5777107.post@n5.nabble.com> In-Reply-To: <1454336228465-5777100.post@n5.nabble.com> References: <1454085643445-5776996.post@n5.nabble.com> <1454336228465-5777100.post@n5.nabble.com> Subject: Re: Camel file component URI dynamic options & Filter query MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I tried with a new approach it works atleast for basic condition . But the problem is if there is any file left in the folder which did not match in the Run , the route keeps on polling and the filter is called everytime . 1) Is there any way in which the route can be told to stop pooling after subsequent polls which did not result any file processing. 2) There could be a gap in the sequence, i.e. after 2 , 4 can be the next file how can i come to know that the route has finished processing one cylce, so that I can increment again in filter and the route will work again. 3) Incase there is a file les than sequence or any junk file , it should be moved to different folder. Since I am using a Filter , not sure if that can be done . I can configure a different route to counter this. DS -- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-component-URI-dynamic-options-Filter-query-tp5776861p5777107.html Sent from the Camel - Users mailing list archive at Nabble.com.