Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 04483200C87 for ; Wed, 17 May 2017 15:52:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 02D14160BBA; Wed, 17 May 2017 13:52:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 488E7160BB5 for ; Wed, 17 May 2017 15:52:09 +0200 (CEST) Received: (qmail 35496 invoked by uid 500); 17 May 2017 13:52:08 -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 35476 invoked by uid 99); 17 May 2017 13:52:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2017 13:52:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 77BAD18055C for ; Wed, 17 May 2017 13:52:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.693 X-Spam-Level: * X-Spam-Status: No, score=1.693 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id b6KkCgl2MY0J for ; Wed, 17 May 2017 13:52:05 +0000 (UTC) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4B0FE60E2E for ; Wed, 17 May 2017 13:52:05 +0000 (UTC) Received: by mail-qt0-f169.google.com with SMTP id v27so9724757qtg.2 for ; Wed, 17 May 2017 06:52:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=gKigLzBpvxmhTmzN6pnfr9J39cWanZOC5k5FRmsAhms=; b=hSoiUynOKOXcMFK+6lOZOSA7mQsJQdDJo54fWyP6k074HWsvqQsikDXmlc2Jf1AKcY Xdvl+Qdi9E/syGPxWrNgdbTFDdOW22cHKs5QWkcxhP/x0Z65Rqv645GN49jW4+x0CYeL JSNfIPCA14NDPsg2GCpwo8mRK2j0Y16+KS6K5zJbxdMH9MHSNOH9Mmi+tKq6ToFiN8q3 bZaQhWd9hanIEfJIbJYOXjWcof/n4GuWn2dTmMp4sFVHM9Mg/N7+DAkDn85hsGd6/IDS zt6PvvrxnYD8TzC5Zn41jwVwMN/hps822EDqGgg/10xnHsq1mvzqmFVVinjcdTfL4yEB V7/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gKigLzBpvxmhTmzN6pnfr9J39cWanZOC5k5FRmsAhms=; b=Usf01gyYiqAWVkuQxVMUF6SC2Ve8i+G7QxDApKo+nIvrPv2qPKpT41fjWyTxUKVke4 zYEPGPuXK3q22SVzuDGXqi82MGZlhE0KBL1c+KXUqCTL0FqpNAQ6LcndRrJFL8+6m6pI 5NNuKngVMfPK4+0HWQlvhCuDq6HiZ9YdssocDdqRgI3GfK1BubVnlLGf6Us8KumLhQ0l bfR7W9yX8n5g4583Gqb2dTMix3pqN2JeWx1pI5Pt/M08O7wmozmfD5t4lyxPbb8A/3ho lLHT2oJAeYKwXjpjCTR7fY0fAPTNBbExgPWHdN7nmhiB9wZNDvEGMhQd52tae5JnBID2 X7sw== X-Gm-Message-State: AODbwcD6ocQmISeouYPvgooivDGLhfhXM/A26O7pycz/TrFH5XdEFj12 KYVsbjmB5lvByMjY93W+fYs6/8Fn8On3 X-Received: by 10.237.36.101 with SMTP id s34mr3113282qtc.137.1495029119158; Wed, 17 May 2017 06:51:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.50.58 with HTTP; Wed, 17 May 2017 06:51:38 -0700 (PDT) In-Reply-To: <1495021160823-5799704.post@n5.nabble.com> References: <1494911280419-5799551.post@n5.nabble.com> <1495021160823-5799704.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 17 May 2017 15:51:38 +0200 Message-ID: Subject: Re: Redelivery of message in case of exception inside aggregator To: "users@camel.apache.org" Content-Type: text/plain; charset="UTF-8" archived-at: Wed, 17 May 2017 13:52:10 -0000 I suggest to use a profiler to see what is going on in your JVM. You may need to tweak restlet accordingly to your needs. You can set limits on thread pools and whatnot. And maybe also the load on the JVM if you have a lot of messages queued up etc. Camel has little overhead, so its often other things you need to tweak. However as you use SEDA with an unbounded queue you can end up with too many messages pending, if you take in more messages than you can process. On Wed, May 17, 2017 at 1:39 PM, codentravel wrote: > Thanks for the reply. > I did exactly the same yesterday.. It seem to be working fine.. > > Do you have any suggestion bring the CPU down ? > Currently it consumes about 70% of CPU (beaglebone with 1gb of RAM) for 15 > messages/second. Is it normal for Camel to consume so much of CPU ? > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Redelivery-of-message-in-case-of-exception-inside-aggregator-tp5799551p5799704.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2