Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 90610 invoked from network); 2 Jan 2009 15:32:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2009 15:32:26 -0000 Received: (qmail 88453 invoked by uid 500); 2 Jan 2009 15:32:26 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 88427 invoked by uid 500); 2 Jan 2009 15:32:26 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 88416 invoked by uid 99); 2 Jan 2009 15:32:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 07:32:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 15:32:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 81481234C4A8 for ; Fri, 2 Jan 2009 07:32:05 -0800 (PST) Message-ID: <109832136.1230910325528.JavaMail.jira@brutus> Date: Fri, 2 Jan 2009 07:32:05 -0800 (PST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-1198) Add pluggable File Scanning Strategies to file Poller - utilise Ant Scanning as one In-Reply-To: <841442146.1229681405397.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-1198. -------------------------------- Resolution: Fixed Now we have ANT path styles for both file and ftp/sftp components. > Add pluggable File Scanning Strategies to file Poller - utilise Ant Scanning as one > ----------------------------------------------------------------------------------- > > Key: CAMEL-1198 > URL: https://issues.apache.org/activemq/browse/CAMEL-1198 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core, camel-spring > Affects Versions: 2.0.0 > Reporter: Ramon Buckland > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.0.0 > > > Add the ability for the file scanner to have a pluggable finding implementation. > - Extract out the current method to one pluggable implementation > - Add another which utilises the Ant DirectoryScanner > the Ant DirectoryScanner gives us the ability to scan more than one directory tree at a time, having excludes and complex name location strageties. > An example of this code in action is > {code} > DirectoryScanner dirScanner = new DirectoryScanner(); > dirScanner.setBasedir(myBaseDir); > dirScanner.setIncludes(includes); // String[] - { "**/somedir/**/fileprefix*.csv","**/someother/dir/filepre*.txt"} > dirScanner.setExcludes(excludes); > ... > dirScanner.scan(); > .. > // work with files in dirScanner.getIncludedFiles() > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.