Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 73888 invoked from network); 9 Jan 2011 22:31:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jan 2011 22:31:00 -0000 Received: (qmail 29881 invoked by uid 500); 9 Jan 2011 22:31:00 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 29839 invoked by uid 500); 9 Jan 2011 22:31:00 -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 29831 invoked by uid 99); 9 Jan 2011 22:31:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 22:31:00 +0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [62.75.158.78] (HELO mail.liquid-reality.de) (62.75.158.78) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 22:30:55 +0000 Received: from [10.0.0.100] (HSI-KBW-091-089-018-199.hsi2.kabelbw.de [91.89.18.199]) by mail.liquid-reality.de (Postfix) with ESMTP id ECA1CB38002 for ; Sun, 9 Jan 2011 22:30:33 +0000 (UTC) Message-ID: <4D2A3705.9030002@die-schneider.net> Date: Sun, 09 Jan 2011 23:30:29 +0100 From: Christian Schneider User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: How to improve Camel MQ performance References: <1294609433993-3334208.post@n5.nabble.com> <4D2A32EF.7060700@die-schneider.net> <6DD46B6C4BA9BD45BF8C0DDF03CFB60B101F71573F@021-NAMSG-04.021d.mgd.msft.net> In-Reply-To: <6DD46B6C4BA9BD45BF8C0DDF03CFB60B101F71573F@021-NAMSG-04.021d.mgd.msft.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Damian, you could try to wrap your connectionfactory in a spring CachingConnectionFactory : http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/jms/connection/CachingConnectionFactory.html It has several settings that could speed up camel jms. Christian Am 09.01.2011 23:17, schrieb damianharvey: > > My Spring JMS configuration (note that I have commented out the transaction handling to improve performance): > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Damian Harvey | Aon Australia/Pacific > > Level 31, 201 Kent Street Sydney NSW 2000 > t: +61292537000 | f: +61292537952 > e: damian.harvey@aon.com.au > > Please consider the environment before printing this email. > From: Christian Schneider [via Camel] [mailto:ml-node+3334238-1494567908-144200@n5.nabble.com] > Sent: Monday, 10 January 2011 9:14 AM > To: Damian Harvey > Subject: Re: How to improve Camel MQ performance > > Can you post your camel jms and configuration? > > Christian > > > Am 09.01.2011 22:43, schrieb damianharvey: > >> Does anyone have any tips on how to configure Camel to be more performant on >> WebSphere MQ? I haven't seen any settings to allow MQ to use connection >> pooling and I'm finding that it isn't performing well under load - I suspect >> due to the overhead of opening and closing connections (it's about twice as >> slow as the same service over HTTP). I have set the JMS consumer to have 30 >> concurrent consumers and this helped a little. >> >> I have tried adding the following line to the Spring configuration to no >> avail: >> >> > class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" >> p:staticMethod="com.ibm.mq.MQEnvironment.addConnectionPoolToken" /> >> >> Is there anything else that I can do? Is anyone using MQ with Camel in a >> high performance environment? >> >> Thanks, >> >> Damian. > -- > ---- > http://www.liquid-reality.de > > > ________________________________ > View message @ http://camel.465427.n5.nabble.com/How-to-improve-Camel-MQ-performance-tp3334208p3334238.html > To unsubscribe from How to improve Camel MQ performance, click here. > > ________________________________ > > This communication (and any attachments) is directed in confidence to the addressee(s) listed above, and may not otherwise be distributed, copied or used. The contents of this communication may also be subject to privilege, and all rights to that privilege are expressly claimed and not waived. If you have received this communication in error, please notify us by reply e-mail or by telephone and delete this communication (and any attachments) without making a copy. > > Before opening or using attachments, you should check them for viruses and defects. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. > -- ---- http://www.liquid-reality.de