[ 
https://issues.apache.org/jira/browse/ARTEMIS-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571308#comment-16571308
 ] 

ASF GitHub Bot commented on ARTEMIS-2013:
-----------------------------------------

GitHub user gaohoward opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2219

    ARTEMIS-2013 Can't create durable subscriber to a composite topic

    An OpenWire client can use a compound destination name of the form
    "a,b,c..." and consume from, or subscribe to, multiple destinations.
    Such a compound destination only works for topics when the subscriber
    is non-durable. Attempting to create a durable subscription on a
    compound address will end up with an error.
    
    The cause is when creating durable subs to multiple topics/addresses
    the broker uses the same name to create internal queues, which
    causes duplicate name conflict.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gaohoward/activemq-artemis b_ent1823

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2219.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2219
    
----
commit e7cfa99bd8d924b9f4bbb251ca8287a4b2067248
Author: Howard Gao <howard.gao@...>
Date:   2018-08-07T08:56:43Z

    ARTEMIS-2013 Can't create durable subscriber to a composite topic
    
    An OpenWire client can use a compound destination name of the form
    "a,b,c..." and consume from, or subscribe to, multiple destinations.
    Such a compound destination only works for topics when the subscriber
    is non-durable. Attempting to create a durable subscription on a
    compound address will end up with an error.
    
    The cause is when creating durable subs to multiple topics/addresses
    the broker uses the same name to create internal queues, which
    causes duplicate name conflict.

----


> Can't create durable subscriber to a composite topic
> ----------------------------------------------------
>
>                 Key: ARTEMIS-2013
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2013
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 2.6.2
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>            Priority: Major
>             Fix For: 2.6.3
>
>
> An OpenWire client can use a compound destination name of the form "a,b,c..." 
> and consume from, or subscribe to, multiple destinations. Such a compound 
> destination only works for topics when the subscriber is non-durable. 
> Attempting to create a durable subscription on a compound address gives an 
> error message:
>  
> |{color:#000000}2018-07-23 14:11:31,166 WARN 
> [org.apache.activemq.artemis.core.server] Errors occurred during the 
> buffering operation : java.lang.IllegalStateException: Cannot create a 
> subscriber on the durable subscription since it already has subscriber(s) 
> {color}|
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to