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

Willem Jiang resolved CAMEL-8432.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.15.0
                   2.14.3

Applied the patch into camel master and camel-2.14.x branches with thanks to 
Mark.

> camel-mqtt: MQTT wildcard ('+') subscription broken
> ---------------------------------------------------
>
>                 Key: CAMEL-8432
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8432
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mqtt
>    Affects Versions: 2.14.1
>            Reporter: Mark Mindenhall
>            Assignee: Willem Jiang
>             Fix For: 2.14.3, 2.15.0
>
>         Attachments: 0001-CAMEL-8432-2.14.x.patch, 
> 0001-CAMEL-8432-2.15.x.patch
>
>
> [MQTT single-level 
> wildcards|http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718106]
>  ("\+" character) are broken within topic subscriptions.  This is due to URL 
> encoding/decoding that is done on the component URI, which results in the 
> "\+" being replaced with a space.  I also tried with "%2B" instead of the 
> "\+" sign, which gave the same result.  
> A search led me to CAMEL-8056, which mentions needing to override the 
> {{useRawUri}} method to return {{true}}.  I'm working on a patch and updated 
> unit tests for this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to