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 6473217AE2 for ; Thu, 26 Feb 2015 16:04:05 +0000 (UTC) Received: (qmail 39794 invoked by uid 500); 26 Feb 2015 16:04:05 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 39730 invoked by uid 500); 26 Feb 2015 16:04:05 -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 39528 invoked by uid 99); 26 Feb 2015 16:04:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2015 16:04:05 +0000 Date: Thu, 26 Feb 2015 16:04:05 +0000 (UTC) From: "Michael Justin (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-3917) ActiveMQ should support multiple durable subscriptions per Stomp client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338615#comment-14338615 ] Michael Justin commented on AMQ-3917: ------------------------------------- The documentation page http://activemq.apache.org/stomp.html still says that 'you must specify the same clientId on the connection and subcriptionName on the subscribe', if I understand correctly this is valid for versions before 5.7.0 only as the restriction no longer exists now > ActiveMQ should support multiple durable subscriptions per Stomp client > ----------------------------------------------------------------------- > > Key: AMQ-3917 > URL: https://issues.apache.org/jira/browse/AMQ-3917 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker, stomp > Affects Versions: 5.5.1, 5.6.0 > Environment: linux, solaris > Reporter: Bhanu > Assignee: Timothy Bish > Priority: Minor > Fix For: 5.7.0 > > > This is coming from AMQ-3802. > Quoting Timothy - "This is another limitation of the Stomp support which allows for only one durable subscription since clientId and subscription name are linked. This is because the Stomp v1.0 spec didn't require that you assign unique Ids to subscriptions, so the correlation is made per connection using the matching clientId and subscription name. You can work around this by creating a connection for each durable subscriber." > Now, since ActiveMQ v5.6.0 supports Stomp v1.1 which has made the id header mandatory for subscribe and unsubscribe calls, we should leverage this feature and allow for multiple durable subscriptions per stomp client. Hacks like creating a separate connection for each durable subscriber should be avoided. > Let me know if you have any queries? > Thanks, > Bhanu -- This message was sent by Atlassian JIRA (v6.3.4#6332)