Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 12142 invoked from network); 15 Oct 2007 10:45:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 10:45:01 -0000 Received: (qmail 92221 invoked by uid 500); 15 Oct 2007 10:44:47 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 92122 invoked by uid 500); 15 Oct 2007 10:44:47 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 92077 invoked by uid 99); 15 Oct 2007 10:44:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 03:44:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 64.233.184.229 as permitted sender) Received: from [64.233.184.229] (HELO wr-out-0506.google.com) (64.233.184.229) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 10:44:47 +0000 Received: by wr-out-0506.google.com with SMTP id c47so716164wra for ; Mon, 15 Oct 2007 03:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=UErQEQBZ3pURIxzJs4FsYqTHEh3jbnQ4ptOtJ7rcik8=; b=t67DIZnbLIH41GrC4jYOwjsJsyIsfvZr8t6qy/Y0o0Xc1Mme2f3iyJgLKg3bg+Eu8vmZXSYiFK4ZkClpgX8/eAyHTaDExRnsXrCr4w1qAJ2TnmsB4h2ax2EPH/3YONCn8EDUg3VEZ1PkaTMfB1GUPawiQNxEW5j/qen5CbpfC0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BsLpM1NEWVvNPIuFITZ6KO9cWaf2HQFn5g9OtzZKdsISvO+kHcvxiNRNlxGxlK72JpEVTdtuqryUGEw27Y2bTYICWJRH6WRvgVpf4Lp22RadQJkjV/mWGmmy+wTJ3ovzupJqTaZjYljWNfYUwRfhH/1o2c2VXZpLH1E/EjimRIg= Received: by 10.90.118.8 with SMTP id q8mr8427238agc.1192445066411; Mon, 15 Oct 2007 03:44:26 -0700 (PDT) Received: by 10.90.67.7 with HTTP; Mon, 15 Oct 2007 03:44:26 -0700 (PDT) Message-ID: Date: Mon, 15 Oct 2007 11:44:26 +0100 From: "James Strachan" To: camel-dev@activemq.apache.org, camel-user@activemq.apache.org Subject: please vote for SPR-3890 to improve Camel's JMS support for both JMS transactions and efficiency MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org For a background to the problem see this issue http://issues.apache.org/activemq/browse/CAMEL-163 Basically we can't use efficient JMS consumption (using CACHE_CONSUMER level of caching) with spring's MessageListenerContainer while at the same time using a single JMS transaction to do things like from("activemq:queueA").to("activemq:queueB"); We've erred on the side of caution so that Camel out of the box, as part of CAMEL-163 - will try and use a single JMS transaction for consuming and sending within the same route - the downside is due to the spring bug (SPR-3890) we cannot reuse sessions & connections across messages. This actually means that each message consumed will involve the creation & closing of a new session & consumer! Which is insanely inefficient :( So it'd be good if folks voted for this issue... http://opensource.atlassian.com/projects/spring/browse/SPR-3890 then hopefully the spring folks will fix it :) It looks like a fairly trivial fix too - Guillaume has even offered to provide a patch... -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com