You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mark Mindenhall (JIRA)" <ji...@apache.org> on 2015/03/04 01:43:07 UTC

[jira] [Created] (CAMEL-8432) camel-mqtt: MQTT wildcard ('+') subscription broken

Mark Mindenhall created CAMEL-8432:
--------------------------------------

             Summary: 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


[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)