Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65ACDDEFC for ; Mon, 17 Dec 2012 11:58:15 +0000 (UTC) Received: (qmail 33002 invoked by uid 500); 17 Dec 2012 11:58:15 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 32908 invoked by uid 500); 17 Dec 2012 11:58:14 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 32808 invoked by uid 99); 17 Dec 2012 11:58:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2012 11:58:12 +0000 Date: Mon, 17 Dec 2012 11:58:12 +0000 (UTC) From: "Raul Kripalani (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work started] (CAMEL-5865) camel-jms: concurrent consumers on Temp Reply Queue requires more work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-5865 started by Raul Kripalani. > camel-jms: concurrent consumers on Temp Reply Queue requires more work > ---------------------------------------------------------------------- > > Key: CAMEL-5865 > URL: https://issues.apache.org/jira/browse/CAMEL-5865 > Project: Camel > Issue Type: Bug > Components: camel-jms > Affects Versions: 2.10.3 > Reporter: Raul Kripalani > Assignee: Raul Kripalani > Fix For: 2.10.4 > > > This feature requires a bit more work to get right. Currently it's a bit buggy. Here are the reasons: > - every time the DLMC initialises a new consumer task (AsyncMessageListenerInvoker), it invokes the Destination Resolver. The current code ends up creating a new temp queue and overwriting the reply queue in the Reply Manager every time. > - temp queues can only be consumed from by the same JMS connection that created the queue. If you use a connection pool and maxConsumers > 1, there's no way to guarantee that the same JMS connection is used to create the subsequent consumers, as concurrency expands. We should explicitly set cacheLevel=CACHE_CONNECTION in the DLMC. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira