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 252B3200CA4 for ; Wed, 7 Jun 2017 09:11:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 23E71160BE2; Wed, 7 Jun 2017 07:11:23 +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 6B86E160BD0 for ; Wed, 7 Jun 2017 09:11:22 +0200 (CEST) Received: (qmail 17371 invoked by uid 500); 7 Jun 2017 07:11:21 -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 17360 invoked by uid 99); 7 Jun 2017 07:11:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2017 07:11:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id CA303C0B7D for ; Wed, 7 Jun 2017 07:11:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id gOZTUNQ0Ne9W for ; Wed, 7 Jun 2017 07:11:19 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2D66C5FE06 for ; Wed, 7 Jun 2017 07:11:19 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 79B33E0940 for ; Wed, 7 Jun 2017 07:11:18 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 313E321E0D for ; Wed, 7 Jun 2017 07:11:18 +0000 (UTC) Date: Wed, 7 Jun 2017 07:11:18 +0000 (UTC) From: "Michael Andre Pearce (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ARTEMIS-1210) Queue name should create Queue with Address in its name by default MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 07 Jun 2017 07:11:23 -0000 [ https://issues.apache.org/jira/browse/ARTEMIS-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Andre Pearce resolved ARTEMIS-1210. ------------------------------------------- Resolution: Not A Problem > Queue name should create Queue with Address in its name by default > ------------------------------------------------------------------ > > Key: ARTEMIS-1210 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1210 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: Michael Andre Pearce > > When making a consumer for a topic (multicast) address, a queue is created named with for shared subscriber just the subscription name and if present client id only or in case of durable consumer it is the clientid + name only. > This causes issue where client can validly use the same name's but for different address's. > e.g. > 2017-06-07 01:33:21.144 WARN 70432 --- [nerContainer-28] o.s.j.l.DefaultMessageListenerContainer : Setup of JMS message listener invoker failed for destination 'com.ig.trading.v0.order.history' - trying to recover. Cause: AMQ119082: Queue opstest already exists on another subscription > To avoid this clash including the address in the queue name (as like for any cast queues) would solve this issue. > Also it seems https://activemq.apache.org/artemis/docs/2.1.0/address-model.html alludes that actually this is the behaviour to include the address name in the consumer queue name. > A clunky work around is obviously for the clients to ensure the name is globally unique by manually postfix'ing or prefix'ing the topic/address name. Though if this is the way forward the documents for address-model need to be updated with this detail, and avoid alluding to the pattern that the address is added by the system. Likewise frameworks like Spring would make a work around approach very fragile. -- This message was sent by Atlassian JIRA (v6.3.15#6346)