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 F133118EBE for ; Tue, 3 Nov 2015 13:25:19 +0000 (UTC) Received: (qmail 51115 invoked by uid 500); 3 Nov 2015 13:25:12 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 51066 invoked by uid 500); 3 Nov 2015 13:25:12 -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 51054 invoked by uid 99); 3 Nov 2015 13:25:12 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 13:25:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C9707C39A3 for ; Tue, 3 Nov 2015 13:25:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.515 X-Spam-Level: ** X-Spam-Status: No, score=2.515 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id mlDbfnI9oxYH for ; Tue, 3 Nov 2015 13:25:02 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id B26A023268 for ; Tue, 3 Nov 2015 13:25:02 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 6AB1719166C8 for ; Tue, 3 Nov 2015 05:14:28 -0800 (PST) Date: Tue, 3 Nov 2015 06:25:01 -0700 (MST) From: deepak_a To: users@camel.apache.org Message-ID: <1446557101777-5773344.post@n5.nabble.com> Subject: How to improve throughput by grouping messages in a Transaction MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit All, I have a simple bridge between ActiveMQ and TibcoEMS. There are 2 routes. 1st Route moves messages into ActiveMQ Queue. (thisroute reads messages from Disk and publishes to ActiveMQ). 2nd Route consumes messages from ActiveMQ and publish to a Topic in TibcoEMS. For both the routes, because of limitations, I can use only one thread. i.e. one thread publishing to ActiveMQ, one thread consuming from ActivemQ and publishig to TIBCO EMS. In JMSTemplate I have set sessionTransacted is set to True (to enable redelivery in case of exception thrown) In each transaction I am moving one message via bridge. I want to know how can I group a bunch of messages in each transaction? and receive a single ACK for that group of messages? This way I can increase the throughput (since I will be sending bulk of messages instead of one message in a Transaction) regards D -- View this message in context: http://camel.465427.n5.nabble.com/How-to-improve-throughput-by-grouping-messages-in-a-Transaction-tp5773344.html Sent from the Camel - Users mailing list archive at Nabble.com.