Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1DD610BAF for ; Mon, 3 Feb 2014 14:54:14 +0000 (UTC) Received: (qmail 17590 invoked by uid 500); 3 Feb 2014 14:54:13 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 17364 invoked by uid 500); 3 Feb 2014 14:54:11 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 17320 invoked by uid 99); 3 Feb 2014 14:54:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 14:54:10 +0000 Date: Mon, 3 Feb 2014 14:54:09 +0000 (UTC) From: "Christian Schneider (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQ-5015) Temp Queue gets deleted on close of wrong connection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Christian Schneider created AMQ-5015: ---------------------------------------- Summary: Temp Queue gets deleted on close of wrong connection Key: AMQ-5015 URL: https://issues.apache.org/jira/browse/AMQ-5015 Project: ActiveMQ Issue Type: Improvement Affects Versions: 5.9.0 Reporter: Christian Schneider My scenario is this: connection1: create temp queue tq1 send msg to qeue1 with replyTo tq1 wait for reply on tq1 connection2: receive message on queue1 send to replyTo address which is tq1 In some cases the temp queue gets deleted in the close method of connection2. The scenario is kind of an edge case as it only happens if I use a PooledConnectionFactory and only if I before my scenario above open a connection and session and close the connection before the session. So strictly speaking my code has an error. I think the problem is in the PooledConnection factory. It seems to reuse a connection or session in the wrong way. I will attach a test case -- This message was sent by Atlassian JIRA (v6.1.5#6160)