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

SJMS Endpoint does not reverse header encoding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.14.0
    • 2.13.4, 2.14.1, 2.15.0
    • camel-sjms
    • None
    • Unknown

    Description

      SJMS Endpoint does not reverse header encoding, when it replaces . with _DOT_ and - with _HYPHEN_ it does not replace them with the original values.

      So this breaks compatibility with the camel-jms component.

      Quote taken from: http://camel.apache.org/jms.html

      The current header name strategy for accepting header names in Camel is as follows:
      Dots are replaced by _DOT_ and the replacement is reversed when Camel consume the message
      Hyphen is replaced by _HYPHEN_ and the replacement is reversed when Camel consumes the message

      Attachments

        1. unnamed3.patch
          1.0 kB
          Aaron Whiteside

        Issue Links

          Activity

            People

              njiang Willem Jiang
              aaronjwhiteside Aaron Whiteside
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: