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 80F88F54C for ; Wed, 20 Mar 2013 17:37:42 +0000 (UTC) Received: (qmail 12918 invoked by uid 500); 20 Mar 2013 17:37:42 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 12575 invoked by uid 500); 20 Mar 2013 17:37:41 -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 29367 invoked by uid 99); 20 Mar 2013 17:20:49 -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: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of codeintheopen@gmail.com) Date: Wed, 20 Mar 2013 10:20:24 -0700 (PDT) From: Jothi To: users@camel.apache.org Message-ID: <1363800024513-5729546.post@n5.nabble.com> In-Reply-To: References: <1363772928888-5729489.post@n5.nabble.com> Subject: Re: Camel Aggregator Strategy Question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have tried the following to achieve what I want. But I ran into some errors: My Route: from("file:C:\\Users\\joe\\Desktop\\csv?noop=true"). unmarshal().csv().process(new RefDataProcessor()).to("direct:Process"); from("file:C:\\Users\\joe\\Desktop\\csv2?noop=true"). unmarshal().csv().process(new RefDataProcessor()).to("direct:Process"); from("direct:Process").aggregate(header("id"), new RefDataAggregationStrategy()).completionTimeout(3000).to("direct:Processed"); The error that I get is the following: [Users%5Cjoe%5CDesktop%5Ccsv] DefaultErrorHandler ERROR Failed delivery for (MessageId: ID-HP10007131-52648-1363799287926-0-1 on ExchangeId: ID-HP10007131-52648-1363799287926-0-3). Exhausted after delivery attempt: 1 caught: org.apache.camel.CamelExchangeException: Invalid correlation key. Exchange[null] What should I understand from the invalid correlation key error message? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Aggregator-Strategy-Question-tp5729337p5729546.html Sent from the Camel - Users mailing list archive at Nabble.com.