Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DCAFD200B3E for ; Wed, 7 Sep 2016 17:22:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DB36E160ACF; Wed, 7 Sep 2016 15:22:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 56573160ABF for ; Wed, 7 Sep 2016 17:22:21 +0200 (CEST) Received: (qmail 59717 invoked by uid 500); 7 Sep 2016 15:22:20 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 59692 invoked by uid 99); 7 Sep 2016 15:22:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2016 15:22:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7150D2C0059 for ; Wed, 7 Sep 2016 15:22:20 +0000 (UTC) Date: Wed, 7 Sep 2016 15:22:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARTEMIS-715) In rare circumstances HornetQ MessageProducer can send a message to wrong queue. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 07 Sep 2016 15:22:22 -0000 [ https://issues.apache.org/jira/browse/ARTEMIS-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15470906#comment-15470906 ] ASF GitHub Bot commented on ARTEMIS-715: ---------------------------------------- Github user treblereel commented on the issue: https://github.com/apache/activemq-artemis/pull/756 fixed, thanks ! > In rare circumstances HornetQ MessageProducer can send a message to wrong queue. > -------------------------------------------------------------------------------- > > Key: ARTEMIS-715 > URL: https://issues.apache.org/jira/browse/ARTEMIS-715 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: Dmitrii Tikhomirov > > The problem is in code: > ... > else > { > sendRegularMessage(msgI, sendBlocking, theCredits); > session.checkDefaultAddress(sendingAddress); > } > ... > When user does not have permission to send message, the sendRegularMessage method throws an exception, hence session.checkDefaultAddress is not called and default address remains null. However server changed default address before the exception arises. After this step the default address is different on client and server. -- This message was sent by Atlassian JIRA (v6.3.4#6332)