[
https://issues.apache.org/jira/browse/AMQ-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dhiraj Bokde updated AMQ-5061:
------------------------------
Attachment: AMQ-5061.patch
Patch for stripping leading '/' from MQTT topic names. Also includes unit tests
for some other patches I submitted previously.
> MQTT Hierarchical Destination names may start with a leading '/', which must
> be ignored when mapping to ActiveMQ destination name
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-5061
> URL: https://issues.apache.org/jira/browse/AMQ-5061
> Project: ActiveMQ
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 5.9.0
> Reporter: Dhiraj Bokde
> Fix For: 5.10.0
>
> Attachments: AMQ-5061.patch
>
>
> MQTT hierarchical destination names use the '/' character to separate levels.
> The name may start with a '/', which indicates root level, so it must be
> ignored when mapping to ActiveMQ destination names. This is required so that
> both 'TopicA' and '/TopicA' map to the same ActiveMQ destination name
> 'TopicA'.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)