Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8432

camel-mqtt: MQTT wildcard ('+') subscription broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14.1
    • Fix Version/s: 2.14.3, 2.15.0
    • Component/s: camel-mqtt
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      MQTT single-level wildcards ("+" 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.

        Attachments

        1. 0001-CAMEL-8432-2.14.x.patch
          3 kB
          Mark Mindenhall
        2. 0001-CAMEL-8432-2.15.x.patch
          7 kB
          Mark Mindenhall

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              mmindenhall Mark Mindenhall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: