You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2021/08/03 15:41:49 UTC

[GitHub] [activemq-artemis] Elyytscha edited a comment on pull request #3673: ARTEMIS-3223 - ensure distribution uses the address from the message,…

Elyytscha edited a comment on pull request #3673:
URL: https://github.com/apache/activemq-artemis/pull/3673#issuecomment-891951235


   Hello
   
   we can confirm that with this pullrequest our problem is solved:
   
   we can now do the following in an artemis cluster with mqtt with clean session false in mosquitto-client:
   subscribe suscriber1 to node1, disconnect subscriber1 from node1 , publish message test1 on node1 with publisher1 and test2 on node2 with publisher2, connect subscriber1 to node2, topic arrives correctly:
   ```
   mosquitto_sub -i subscriber1 -h artemis-node2 -p 1883 -t 'drivers/+/services' -d -c
   Client subscriber1 sending CONNECT
   Client subscriber1 received CONNACK
   Client subscriber1 sending SUBSCRIBE (Mid: 1, Topic: drivers/+/services, QoS: 0)
   Client subscriber1 received PUBLISH (d0, q0, r0, m0, 'drivers/user-x/services', ... (5 bytes))
   test1
   Client subscriber1 received PUBLISH (d0, q0, r0, m0, 'drivers/user-x/services', ... (5 bytes))
   test2
   Client subscriber1 received SUBACK
   Subscribed (mid: 1): 0
   ```
   
   without this pullrequest (plain artemis 2.18) the same test looks like this:
   
   ```
   mosquitto_sub -i subscriber1 -h artemis-node2 -p 1883 -t 'drivers/+/services' -d -c
   Client subscriber1 sending CONNECT
   Client subscriber1 received CONNACK
   Client subscriber1 sending SUBSCRIBE (Mid: 1, Topic: drivers/+/services, QoS: 0)
   Client subscriber1 received PUBLISH (d0, q0, r0, m0, 'drivers/+/services', ... (5 bytes))
   test1
   Client subscriber1 received PUBLISH (d0, q0, r0, m0, 'drivers/+/services', ... (5 bytes))
   test2
   Client subscriber1 received SUBACK
   Subscribed (mid: 1): 0
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org