[
https://issues.apache.org/jira/browse/ARTEMIS-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilario updated ARTEMIS-1238:
----------------------------
Description:
artemis deny resubscription to topics in the following scenario:
1)connect client c1 and subscribe to a wildcard topic t1 (for example
"/prj/plantid/(plus)/gwid/(plus)/connection_state")
(edit: jira is missing plus)
2)connect client c2 and subscribe to topic t2 correlated to t1 (for example
"/prj/plantid/111111/gwid/22222/connection_state")
3)subscribe c2 to wildcard topic t3 correlated to t1 (for example
"/prj/plantid/111111/gwid/22222/#")
4)unsubscribe c2 from all topic
5)resubscribe c2 to topic t2
JUnit attached replicate this bug.
Ilario M.
was:
artemis deny resubscription to topics in the following scenario:
1)connect client c1 and subscribe to a wildcard topic t1 (for example
"/prj/plantid/+/gwid/+/connection_state")
2)connect client c2 and subscribe to topic t2 correlated to t1 (for example
"/prj/plantid/111111/gwid/22222/connection_state")
3)subscribe c2 to wildcard topic t3 correlated to t1 (for example
"/prj/plantid/111111/gwid/22222/#")
4)unsubscribe c2 from all topic
5)resubscribe c2 to topic t2
JUnit attached replicate this bug.
Ilario M.
> wildcard topic subscription
> ---------------------------
>
> Key: ARTEMIS-1238
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1238
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 2.1.0
> Reporter: Ilario
> Attachments: PahoMQTTWildcardTest.java
>
>
> artemis deny resubscription to topics in the following scenario:
> 1)connect client c1 and subscribe to a wildcard topic t1 (for example
> "/prj/plantid/(plus)/gwid/(plus)/connection_state")
> (edit: jira is missing plus)
> 2)connect client c2 and subscribe to topic t2 correlated to t1 (for example
> "/prj/plantid/111111/gwid/22222/connection_state")
> 3)subscribe c2 to wildcard topic t3 correlated to t1 (for example
> "/prj/plantid/111111/gwid/22222/#")
> 4)unsubscribe c2 from all topic
> 5)resubscribe c2 to topic t2
> JUnit attached replicate this bug.
> Ilario M.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)