[
https://issues.apache.org/jira/browse/ARTEMIS-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705394#comment-17705394
]
Justin Bertram edited comment on ARTEMIS-997 at 3/27/23 2:52 PM:
-----------------------------------------------------------------
Given that there's been no additional feedback from [~ppatierno] in the last 5
years on this issue I'm closing it as "Abandoned." There are MQTT tests in the
test-suite using the {{+}} wildcard, and they are passing. In order to proceed
here we'd need a clear way to reproduce the problem on the latest release.
was (Author: jbertram):
Given that there's been no additional feedback from [~ppatierno] on this issue
I'm closing it as "Abandoned." There are MQTT tests in the test-suite using the
{{+}} wildcard, and they are passing. In order to proceed here we'd need a
clear way to reproduce the problem on the latest release.
> MQTT wildcard "+" doesn't work properly
> ---------------------------------------
>
> Key: ARTEMIS-997
> URL: https://issues.apache.org/jira/browse/ARTEMIS-997
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 2.0.0
> Reporter: Paolo Patierno
> Priority: Major
>
> Hi,
> using last master bits (so 2.0.0 snapshot) for the EnMasse project we tried
> to configure wildcards in the following way :
> <wildcard-addresses>
> <enabled>true</enabled>
> <delimiter>/</delimiter>
> <any-words>#</any-words>
> <single-word>+</single-word>
> </wildcard-addresses>
> The "#" wildcard seems to work fine but not the "+". For example, considering
> "mytopic" as address and using the Proton Python simple sender and receiver
> ...
> [root@localhost python]# python simple_recv.py -a
> amqp://172.17.0.9:5673/mytopic/+/bar -m 1
> [root@localhost python]# python simple_send.py -a
> amqp://172.17.0.9:5673/mytopic/foo/bar -m 1
> all messages confirmed
> no messages are got by the receiver.
> The same happens using the "+" at the end ...
> [root@localhost python]# python simple_recv.py -a
> amqp://172.17.0.9:5673/mytopic/bar/+ -m 1
> [root@localhost python]# python simple_send.py -a
> amqp://172.17.0.9:5673/mytopic/bar/foo -m 1
> all messages confirmed
> Instead, using "#" it works fine ...
> [root@localhost python]# python simple_recv.py -a
> amqp://172.17.0.9:5673/mytopic/bar/# -m 1
> {u'sequence': int32(1)}
> [root@localhost python]# python simple_send.py -a
> amqp://172.17.0.9:5673/mytopic/bar/foo -m 1
> all messages confirmed
--
This message was sent by Atlassian Jira
(v8.20.10#820010)