You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2018/10/02 14:34:00 UTC

[jira] [Commented] (ARTEMIS-2103) VirtualTopic doesn't work correctly with multiple consumers

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

Gary Tully commented on ARTEMIS-2103:
-------------------------------------

Why does the second consumer need the same name?

 

you could use a wildcard to consume from matching topics, *Consumer.cons1.VirtualTopic.**

> VirtualTopic doesn't work correctly with multiple consumers
> -----------------------------------------------------------
>
>                 Key: ARTEMIS-2103
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2103
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker, OpenWire
>    Affects Versions: 2.6.3
>            Reporter: Pawel
>            Priority: Major
>
> It's impossibe to subscribe multiple virtual topics with the same consumer name.
> I've configured acceptor like described in documentation:
> {code:java}
> tcp://0.0.0.0:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300;virtualTopicConsumerWildcards=Consumer.*.%3E%3B2{code}
> When I'm connecting first consumer:  
> *Consumer.cons1.VirtualTopic.t1*
> proper binding is created.
> Next I'm trying to connect second consumer with the same name:
> *Consumer.cons1.VirtualTopic.t2*
> But no binding is created.



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