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

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

Github user jbertram commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1679
  
    > For what I have analysed in the artemis code, the 
message-load-balancing-type is only set for queues configured in the broker.xml.
    
    I don't believe that's true.  If you change your example to create 
subscriptions on "test/1/some/la" instead of "test/+/some/#" and also remove 
the <addresses> block from the broker.xml files then the address 
"test/1/some/la" will be created along with the corresponding subscription 
queues automatically when the client runs.  In this situation I can see that 
the messages are load-balanced properly among the cluster nodes.  This leads me 
to believe that the issue is with how the subscription queues with wildcards 
(i.e. "test/+/some/#") are interacting with the messages send to a specific 
address (i.e. "test/1/some/la").


> Cannot create a MQTT cluster
> ----------------------------
>
>                 Key: ARTEMIS-1523
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1523
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Raul Valdoleiros
>            Priority: Blocker
>
> I created a cluster with two nodes of artemis brokers, configured with mqtt 
> protocol. 
> The goal is to send a message, through mqtt, to broker 1 and receive it in 
> the subscriber of broker 2. 
> I've wrote a test for that: 
> https://github.com/Skiler/activemq-artemis/tree/master/examples/features/clustered/clustered-queue-mqtt
> Can anyone help me understand what is wrong? 
> Thanks in advance, 
> Raul 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to