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 626F1108BE for ; Tue, 2 Dec 2014 13:05:42 +0000 (UTC) Received: (qmail 44692 invoked by uid 500); 2 Dec 2014 13:05:35 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 44652 invoked by uid 500); 2 Dec 2014 13:05:35 -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 44634 invoked by uid 99); 2 Dec 2014 13:05:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 13:05:35 +0000 Date: Tue, 2 Dec 2014 13:05:35 +0000 (UTC) From: =?utf-8?Q?Jens_Mei=C3=9Fner_=28JIRA=29?= To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMQ-5469) Response to a temporary queue fails after broker failover MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5469?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Jens Mei=C3=9Fner updated AMQ-5469: ------------------------------ Attachment: TestActiveMQRequestResponseWithBrokerFailover.java > Response to a temporary queue fails after broker failover > --------------------------------------------------------- > > Key: AMQ-5469 > URL: https://issues.apache.org/jira/browse/AMQ-5469 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.8.0 > Environment: JRE 1.7.0_25 > Reporter: Jens Mei=C3=9Fner > Attachments: TestActiveMQRequestResponseWithBrokerFailover.java > > > Response to a temporary queue fails after broker failover. > {quote} > javax.jms.InvalidDestinationException: Cannot publish to a deleted Destin= ation: temp-queue://ID:evdekarjmeissne-63101-1417524335354-9:1:1 > =09at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1735) > {quote} > The issue only occurs if the component that sends the response on a diffe= rent session than the session on which the request was received. > A workaround is to disable watchTopicAdvisories. > (i) I have a unit test to demonstrate the issue. > (?) Is it allowed to use different sessions to receive requests and send = replies? Or is this discouraged? > (?) Why does it work if I disable watchTopicAdvisories? Is this a valid o= ption? -- This message was sent by Atlassian JIRA (v6.3.4#6332)