You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Vuk Vasic (JIRA)" <ji...@apache.org> on 2018/12/29 18:03:00 UTC

[jira] [Updated] (ARTEMIS-2218) AMQP 1.0 issue with Shared Subscription

     [ https://issues.apache.org/jira/browse/ARTEMIS-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vuk Vasic updated ARTEMIS-2218:
-------------------------------
    Description: 
For some reason after running *ActiveMQ Artemis (2.6.3)* only first topic created can be used for shared subscription.

Steps to reproduce:
 # Create 2 consumers (with same Container ID and Subscription Name, Capabilities are: shared, topic and global) and 1 producer. The Artemis has 2 producers in admin panel and uses round-robin for deliver of messages. (See sample amqp 1.PNG). Topic is named *sample4*
 # Remove consumers and producers for *sample4*
 # Create 2 consumers (with same Container ID and Subscription Name, Capabilities are: shared, topic and global) and 1 producer. The Artemis has only 1 producers in admin panel and it delivers message to only one listener. Topic is named *sample5*. (See sample amqp 2.PNG)
 # Repeat step 1 and now the topic *sample4* is also delivering to only one consumer. (See sample amqp 3.PNG)

 

It is interesting that if you use same topic multiple times, everything works, But as soon as you create new topic no shared subscription over AMQP 1.0 are not working.

 

*Update*

This works fine on version 1.5.6. I also tested 2.3.0 and it does not work too.

  was:
For some reason after running *ActiveMQ Artemis (2.6.3)* only first topic created can be used for shared subscription.

Steps to reproduce:
 # Create 2 consumers (with same Container ID and Subscription Name, Capabilities are: shared, topic and global) and 1 producer. The Artemis has 2 producers in admin panel and uses round-robin for deliver of messages. (See sample amqp 1.PNG). Topic is named *sample4*
 # Remove consumers and producers for *sample4*
 # Create 2 consumers (with same Container ID and Subscription Name, Capabilities are: shared, topic and global) and 1 producer. The Artemis has only 1 producers in admin panel and it delivers message to only one listener. Topic is named *sample5*. (See sample amqp 2.PNG)
 # Repeat step 1 and now the topic *sample4* is also delivering to only one consumer. (See sample amqp 3.PNG)

 

It is interesting that if you use same topic multiple times, everything works, But as soon as you create new topic no shared subscription over AMQP 1.0 are not working.


> AMQP 1.0 issue with Shared Subscription
> ---------------------------------------
>
>                 Key: ARTEMIS-2218
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2218
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.3.0, 2.6.0, 2.6.2, 2.6.3
>         Environment: For testing i used Vormeo ActiveMQ Docker image.
> Image is: *vromero/activemq-artemis:2.6.3-alpine*
>  
>            Reporter: Vuk Vasic
>            Priority: Blocker
>         Attachments: sample amqp 1.PNG, sample amqp 2.PNG, sample amqp 3.PNG
>
>
> For some reason after running *ActiveMQ Artemis (2.6.3)* only first topic created can be used for shared subscription.
> Steps to reproduce:
>  # Create 2 consumers (with same Container ID and Subscription Name, Capabilities are: shared, topic and global) and 1 producer. The Artemis has 2 producers in admin panel and uses round-robin for deliver of messages. (See sample amqp 1.PNG). Topic is named *sample4*
>  # Remove consumers and producers for *sample4*
>  # Create 2 consumers (with same Container ID and Subscription Name, Capabilities are: shared, topic and global) and 1 producer. The Artemis has only 1 producers in admin panel and it delivers message to only one listener. Topic is named *sample5*. (See sample amqp 2.PNG)
>  # Repeat step 1 and now the topic *sample4* is also delivering to only one consumer. (See sample amqp 3.PNG)
>  
> It is interesting that if you use same topic multiple times, everything works, But as soon as you create new topic no shared subscription over AMQP 1.0 are not working.
>  
> *Update*
> This works fine on version 1.5.6. I also tested 2.3.0 and it does not work too.



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