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 19923109A4 for ; Mon, 29 Apr 2013 10:43:00 +0000 (UTC) Received: (qmail 46423 invoked by uid 500); 29 Apr 2013 10:42:59 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 46127 invoked by uid 500); 29 Apr 2013 10:42:55 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 28786 invoked by uid 99); 29 Apr 2013 08:39:32 -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: error (athena.apache.org: encountered temporary error during SPF processing of domain of codeintheopen@gmail.com) Date: Mon, 29 Apr 2013 01:38:47 -0700 (PDT) From: Jothi To: users@camel.apache.org Message-ID: <1367224727456-5731721.post@n5.nabble.com> Subject: Read multiple files from a directory MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dear Camel Users, I would like to achieve the following: (1) Read 2 files from a directory at the same time (2) Perform some processing on the content of both the files (3) Create a new file out of the processing from step 2 What I tired so far is to have a single route to read the files, send them to an aggregator, perform the processing and produce the desired result. Is there another way of doing it without the need for an aggregator? Regards, Joe -- View this message in context: http://camel.465427.n5.nabble.com/Read-multiple-files-from-a-directory-tp5731721.html Sent from the Camel - Users mailing list archive at Nabble.com.