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 BA216200B89 for ; Wed, 21 Sep 2016 14:49:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B8A7C160AE1; Wed, 21 Sep 2016 12:49:22 +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 11860160ACF for ; Wed, 21 Sep 2016 14:49:21 +0200 (CEST) Received: (qmail 8274 invoked by uid 500); 21 Sep 2016 12:49: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 8251 invoked by uid 99); 21 Sep 2016 12:49:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 12:49:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9B6EF2C2A62 for ; Wed, 21 Sep 2016 12:49:20 +0000 (UTC) Date: Wed, 21 Sep 2016 12:49:20 +0000 (UTC) From: "Christopher L. Shannon (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-6430) noLocal=true in durable subscriptions is ignored after reconnect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Sep 2016 12:49:22 -0000 [ https://issues.apache.org/jira/browse/AMQ-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15509813#comment-15509813 ] Christopher L. Shannon commented on AMQ-6430: --------------------------------------------- Looks like there are two places where the NoLocal attribute needs to be checked, it is done in one location but not the other. > noLocal=true in durable subscriptions is ignored after reconnect > ---------------------------------------------------------------- > > Key: AMQ-6430 > URL: https://issues.apache.org/jira/browse/AMQ-6430 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.13.4, 5.14.0 > Environment: Ubuntu 14.04, OpenJDK 1.7.0_111 and Oracle JDK 1.8.0.74, other environments not testet > Reporter: Daniel Faber > Assignee: Christopher L. Shannon > Attachments: ActiveMQNoLocalTest.java, pom.xml > > > I create a connection to my local ActiveMQ and open two sessions. In the first session I create a durable topic subscriber with noLocal=true. In the second session I send a message to the same topic. Then I close both sessions and the connection. The first time I do this, everything works well, that means I send but do not receive the message. The second time I run the same application I send AND receive the message. > After removing all files and directories in ActiveMQ's data directory, not receiving my own message works again, but only once. -- This message was sent by Atlassian JIRA (v6.3.4#6332)