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 F0783933A for ; Wed, 2 Nov 2011 13:56:50 +0000 (UTC) Received: (qmail 5764 invoked by uid 500); 2 Nov 2011 13:56:50 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 5733 invoked by uid 500); 2 Nov 2011 13:56:50 -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 5725 invoked by uid 99); 2 Nov 2011 13:56:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 13:56:50 +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: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 13:56:45 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RLbIm-0000Ts-HF for users@camel.apache.org; Wed, 02 Nov 2011 06:56:24 -0700 Date: Wed, 2 Nov 2011 06:56:24 -0700 (PDT) From: ebinsingh To: users@camel.apache.org Message-ID: <1320242184524-4958123.post@n5.nabble.com> In-Reply-To: <1320239215341-4958027.post@n5.nabble.com> References: <1320179125896-4956228.post@n5.nabble.com> <1320239215341-4958027.post@n5.nabble.com> Subject: RE: synchronization issue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The below logs show the various size's of the list. Looks like the below line of code has something wrong in it. Please help solve this. *from("file:/work_dir/camel_proj/data/input?delete=true") .log("Starting to process big file: ${header.CamelFileName}") .split(body().tokenize("\n")).streaming() .aggregate(header("CamelFileName"), new MyListAggregation()).completionSize(2000).onCompletion()* fileToQueue.log.1:2011-11-02 09:51:40,723 INFO [pool-2-thread-1] camel.ListParser - Size of MyList : 23011 fileToQueue.log.2:2011-11-02 09:51:39,103 INFO [pool-2-thread-10] camel.ListParser - Size of MyList : 21070 fileToQueue.log.3:2011-11-02 09:51:37,820 INFO [pool-2-thread-9] camel.ListParser - Size of MyList : 19094 fileToQueue.log.4:2011-11-02 09:51:36,881 INFO [pool-2-thread-8] camel.ListParser - Size of MyList : 17085 fileToQueue.log.5:2011-11-02 09:51:36,003 INFO [pool-2-thread-7] camel.ListParser - Size of MyList : 17011 fileToQueue.log.6:2011-11-02 09:51:35,018 INFO [pool-2-thread-6] camel.ListParser - Size of MyList : 13074 fileToQueue.log.7:2011-11-02 09:51:33,583 INFO [pool-2-thread-4] camel.ListParser - Size of MyList : 9052 fileToQueue.log.7:2011-11-02 09:51:34,215 INFO [pool-2-thread-5] camel.ListParser - Size of MyList : 11064 fileToQueue.log.8:2011-11-02 09:51:31,116 INFO [pool-2-thread-1] camel.ListParser - Size of MyList : 2017 fileToQueue.log.8:2011-11-02 09:51:31,615 INFO [pool-2-thread-2] camel.ListParser - Size of MyList : 4010 fileToQueue.log.8:2011-11-02 09:51:32,887 INFO [pool-2-thread-3] camel.ListParser - Size of MyList : 7024 -- View this message in context: http://camel.465427.n5.nabble.com/synchronization-issue-tp4956228p4958123.html Sent from the Camel - Users mailing list archive at Nabble.com.