[ 
https://issues.apache.org/jira/browse/ARTEMIS-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Martin updated ARTEMIS-4721:
-----------------------------------
    Description: 
The [user manual for version 
2.33.0|https://activemq.apache.org/components/artemis/documentation/latest/mqtt.html#wildcard-subscriptions]
 makes the recommendation to use the following configuration to match the MQTT 
specification for better performance:
{code:java}
<wildcard-addresses>
   <delimiter>/</delimiter>
   <any-words>#</any-words>
   <single-word>*</single-word>
</wildcard-addresses> {code}
Shouldn't it recommend "+" instead of "*" for single levels?

Additionally, it would be good to clarify where this XML node is supposed to 
go. Top level? Inside {{{}<configuration>{}}}? Inside {{{}<core>{}}}? Somewhere 
else?

  was:
The [user manual for version 
2.33.0|https://activemq.apache.org/components/artemis/documentation/latest/mqtt.html#wildcard-subscriptions]
 makes the recommendation to use the following configuration to match the MQTT 
specification for better performance:
{code:java}
<wildcard-addresses>
   <delimiter>/</delimiter>
   <any-words>#</any-words>
   <single-word>*</single-word>
</wildcard-addresses> {code}
Shouldn't it recommend "+" instead of "*" for single levels?

 


> Possible documentation error in wildcard syntax recommendation
> --------------------------------------------------------------
>
>                 Key: ARTEMIS-4721
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4721
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.33.0
>            Reporter: Daniel Martin
>            Priority: Minor
>
> The [user manual for version 
> 2.33.0|https://activemq.apache.org/components/artemis/documentation/latest/mqtt.html#wildcard-subscriptions]
>  makes the recommendation to use the following configuration to match the 
> MQTT specification for better performance:
> {code:java}
> <wildcard-addresses>
>    <delimiter>/</delimiter>
>    <any-words>#</any-words>
>    <single-word>*</single-word>
> </wildcard-addresses> {code}
> Shouldn't it recommend "+" instead of "*" for single levels?
> Additionally, it would be good to clarify where this XML node is supposed to 
> go. Top level? Inside {{{}<configuration>{}}}? Inside {{{}<core>{}}}? 
> Somewhere else?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to