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

CXF Transport loses HTTP Matrix parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.2
    • 2.9.3, 2.10.1, 2.11.0
    • camel-cxf
    • None
    • Patch Available
    • Novice

    Description

      DefaultCxfMesssageMapper (note the typo - to be fixed in a follow-up JIRA) wrongly initializes CXF Message Message.REQUEST_URI property with the value of Camel Exchange.HTTP_PATH, even though Camel Exchange.HTTP_URI is available.

      The net effect is that the HTTP matrix parameters if any attached to the last HTTP path segment are lost. Another side-effect is that Exchange.HTTP_PATH will contain the decoded value (done at HTTPServletRequest level) which can lead to the matching issues at the JAX-RS level.

      A simple patch is attached

      Attachments

        1. camel5405_2.diff
          3 kB
          Sergey Beryozkin
        2. camel5405.diff
          5 kB
          Sergey Beryozkin

        Activity

          People

            njiang Willem Jiang
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: