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

Lionel Cons commented on ARTEMIS-1929:
--------------------------------------

See the attached log. The two consumers run in parallel, in two separate 
threads.

> Cannot have two durable consumers on the same queue (STOMP)
> -----------------------------------------------------------
>
>                 Key: ARTEMIS-1929
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1929
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Lionel Cons
>            Priority: Major
>         Attachments: ARTEMIS-1929.log
>
>
> When testing STOMP durable subscriptions, I got errors when having more that 
> one consumer on the same "queue" (i.e. with the same topic, {{client-id}} and 
> {{durable-subscription-name}}).
> Artemis reports:
> {code}
> 2018-06-13 11:27:45,548 WARN  
> [org.apache.activemq.artemis.core.protocol.stomp] AMQ222069: Sent ERROR frame 
> to STOMP client /127.0.0.1:45694: AMQ339016 Error creating subscription 
> 2836570-5b20e391-7fb0-a81b-1
> {code}
> Here is my setup:
>  * two STOMP consumers (different connections)
>  * using the same topic name, {{client-id}} and {{durable-subscription-name}} 
> triplet
> I got this when trying to reproduce what we use with ActiveMQ 5 virtual 
> queues, that is:
>  * producers sending to a topic
>  * different virtual queues attached (e.g. "test" and "prod")
>  * multiple concurrent consumers on each queue to split the consuming load



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

Reply via email to