From dev-return-68936-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Sat Jan 12 15:36:24 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 19405180676 for ; Sat, 12 Jan 2019 15:36:23 +0100 (CET) Received: (qmail 46221 invoked by uid 500); 12 Jan 2019 14:36:23 -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 46197 invoked by uid 99); 12 Jan 2019 14:36:23 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jan 2019 14:36:23 +0000 From: GitBox To: dev@activemq.apache.org Subject: =?utf-8?q?=5BGitHub=5D_onlyMIT_edited_a_comment_on_issue_=232466=3A_ARTEM?= =?utf-8?q?IS-2206_The_MQTT_consumer_reconnection_caused_the_queue_to_not_?= =?utf-8?b?YmUgY2xl4oCm?= Message-ID: <154730378241.14859.8388931002075300238.gitbox@gitbox.apache.org> Date: Sat, 12 Jan 2019 14:36:22 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit onlyMIT edited a comment on issue #2466: ARTEMIS-2206 The MQTT consumer reconnection caused the queue to not be cle… URL: https://github.com/apache/activemq-artemis/pull/2466#issuecomment-453751957 @jbertram I found an interesting Issue; That is why my RP failures in `org.apache.activemq.artemis.tests.integration.mqtt.imported.MqttClusterRemoteSubscribeTest`.The master code in `removeSubscription` method, do not use `locateQueue ` to query queue. > ServerConsumer consumer = consumers.get(address); consumers.remove(address); if (consumer != null) { consumer.close(false); consumerQoSLevels.remove(consumer.getID()); } Tested in the master!! **Issue** Use `MqttClusterRemoteSubscribeTest` test. The internal queue name equal address name(use addressName to save `Binding`). It is wrong. Use MQTTTest.testNoMessageReceivedAfterUnsubscribeMQTT test. The internal queue name equal "clientId+'.'addressName"(use "clientId'.'+addressName" to save `Binding`). It is good. I created a jira [ARTEMIS-2226](https://issues.apache.org/jira/browse/ARTEMIS-2226) But I haven’t found out what caused this issue. Still looking for why!!!!!!! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services