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 6BE3818C6E for ; Wed, 12 Aug 2015 21:03:30 +0000 (UTC) Received: (qmail 40088 invoked by uid 500); 12 Aug 2015 21:03:25 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 40057 invoked by uid 500); 12 Aug 2015 21:03:25 -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 40045 invoked by uid 99); 12 Aug 2015 21:03:24 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2015 21:03:24 +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 49A7C1A9ED1 for ; Wed, 12 Aug 2015 21:03:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.4 X-Spam-Level: ***** X-Spam-Status: No, score=5.4 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RDNS_NONE=2.5] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com.br 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 x3uQLCkLD-Bb for ; Wed, 12 Aug 2015 21:03:20 +0000 (UTC) Received: from spamd4-us-west.apache.org (unknown [209.188.14.142]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id D3CA832B95 for ; Wed, 12 Aug 2015 21:03:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 93870C2AE1 for ; Wed, 12 Aug 2015 21:03:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com.br Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id N97k1wFe_bkW for ; Wed, 12 Aug 2015 21:03:01 +0000 (UTC) Received: from spamd1-us-west.apache.org (unknown [209.188.14.142]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id BFCE050EEF for ; Wed, 12 Aug 2015 21:02:55 +0000 (UTC) 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 52DD6DCBA4 for ; Wed, 12 Aug 2015 21:02:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com.br Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Gfibs7s6ULI2 for ; Wed, 12 Aug 2015 21:02:39 +0000 (UTC) Received: from spamd1-us-west.apache.org (unknown [209.188.14.142]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 729CF50EEF for ; Wed, 12 Aug 2015 21:02:39 +0000 (UTC) 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 142B9DCC23 for ; Wed, 12 Aug 2015 21:02:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org Received: from mx1-eu-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 b5zi8v4-Uq5Y for ; Wed, 12 Aug 2015 21:02:26 +0000 (UTC) Received: from spamd4-us-west.apache.org (unknown [209.188.14.142]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 08D4137571 for ; Wed, 12 Aug 2015 20:46:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 60A24C027A for ; Wed, 12 Aug 2015 20:46:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id T6SCdv30sWc9 for ; Wed, 12 Aug 2015 20:46:11 +0000 (UTC) Received: from spamd4-us-west.apache.org (unknown [209.188.14.142]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id F234050E06 for ; Wed, 12 Aug 2015 20:30:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 92E4DC027A for ; Wed, 12 Aug 2015 20:30:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 6mrwCDT-0Hju for ; Wed, 12 Aug 2015 20:30:23 +0000 (UTC) Received: from nm5-vm5.bullet.mail.ne1.yahoo.com (nm5-vm5.bullet.mail.ne1.yahoo.com [98.138.91.227]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 32F9B32A5C for ; Wed, 12 Aug 2015 20:30:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s2048; t=1439411416; bh=uLrzaiejg/dOd/WrbMmPAemOmMVlb5T8itvJwqyzNlk=; h=Date:From:Reply-To:To:Subject:From:Subject; b=IMTpJSwW/Qew+aE+qbuiusFsnlmDS3QCw2olfmuxaIzprhniy+EuBIEuuIJxcLEi6gYQGWMsbpQbG5bRPt4Ja2m0sKuapQEZGRz1QjMpnQKxK++NTTEt6yZMd0qiErta83P4HXhQIOIBnB1ZPkEZdfrWh6vNlMnw9lxN56fQ/h/czcNiRdbcK25Lv/3/Ik0dGWOOosBBnwpanQR2w8MQyY2oHE6ORM15xLkWbiaYivP8EEXZ7c+Trvb7fJYi+/ruKlVt5JGn8xstrjoXeYcyWsoJVFwXTg4zxBSvtdnJCMreq6Q08r6ETA0FtLwPN+Rb5tgM5dgoSlyfmHMuGNOA9A== Received: from [98.138.101.129] by nm5.bullet.mail.ne1.yahoo.com with NNFMP; 12 Aug 2015 20:30:16 -0000 Received: from [98.138.89.251] by tm17.bullet.mail.ne1.yahoo.com with NNFMP; 12 Aug 2015 20:30:16 -0000 Received: from [127.0.0.1] by omp1043.mail.ne1.yahoo.com with NNFMP; 12 Aug 2015 20:30:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 505119.56915.bm@omp1043.mail.ne1.yahoo.com X-YMail-OSG: bkdKg.AVM1kXP7OQp8att6bHZDGeh3OGq8gsQpYJyvGEAUCOpRaGvIqih.6ZM4Y _dKUi6CFfE2wulyXVW3HS8_Uofkwnsp0COhZ0SbM6Zd0m5qS0LDuywVH2iKtHIneNQSu.FFgLM6b RZ_Wt8FL0G98DH1TybZIP1alxr6xWnJFhsYYV31kv0pdsY.pgRtqdKzuCrhpTgDh45y8Fv94_NHG y_XTA9IzxeJyhmgq5l.z.b7pmDOHJCdi05AyGXbsn5E8G0Bp3zWADuCDJ0Y18h7A4r2975Jxu7ue MPcJtD5OAvP02aecHzoG0t.T7wG4B.7GodrYwCwXcUO8kDv13bbl5laYAieYc_zkzzsbspVXH6LX WHaLfBlHy_O5IN3.doLGzY85kTzxBu2e8P7dEnzAMI.MwLmFh.s8S74OUYKh5YufrJDjAI2CZLgr dBVGdvpLraOZKsPe7K8eibSpX0d1zIO.i.YStzauY8kHlOVVhvDKU697fMfnfhqx7qZs.2A568rg r_MrArSA2gmTfPt8- Received: by 98.138.105.211; Wed, 12 Aug 2015 20:30:15 +0000 Date: Wed, 12 Aug 2015 20:29:25 +0000 (UTC) From: Claudio R Reply-To: Claudio R To: "users@camel.apache.org" Message-ID: <482909209.425986.1439411365723.JavaMail.yahoo@mail.yahoo.com> Subject: Is there any way to limit the size of the FTP listing each poll of FTPConsumer? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_425985_1781659232.1439411365720" ------=_Part_425985_1781659232.1439411365720 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I'm using the FTPConsumer. In FTP, each xml file has the name nyyyyMMddHHmm= .xml, where yyyy is the year, MM is the month, dd is the day, HH is the hou= r and mm is the minute.The processing of the file uses the file name sortin= g in descending order. For a list of files: n201508110801.xml, n20150811080= 2.xml, n201508110803.xml. The n201508110803.xml file is the first file to b= e processed, the n201508110802.xml file will be the second and n20150811080= 1.xml file is the last file being processed. Consider that the process has = started and the processing each file takes 10 minutes (slow processing). Af= ter 20 seconds of processing, it is available on the FTP the n201508110804.= xml file. I would like the n201508110804.xml file to be processed shortly after n2015= 08110803.xml file. In my tests, the n201508110804.xml file is processed onl= y after processing the file n201508110801.xml. Is there any way of the FTPConsumer catch a new FTP listing after each file= processing?=C2=A0=20 Is there any way to limit the size of the FTP listing each poll of FTPConsu= mer? (as top in select of database) ------=_Part_425985_1781659232.1439411365720--