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

camel-core - Avoid using java.net.URI for endpoint parsing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • camel-core
    • None
    • Unknown

    Description

      The java.net.URI have historically been used for camel endpoint uri parsing because of lack of own parser. But the java.net.URI has some drawbacks as it enforces the toString representation to alter the text to use safe uri charachters and percentage encoding such as %20 as space and %25 as percentage sign.

      So we had to come up with RAW(xxx) to avoid parsing specific parts of the endpoint uri, as a kinda workaround.

      We should flip the table, and keep the uri as-is, and then for specific components that need to use java.net.URI style (eg HTTP based) then these components will internally transform to java.net.URI.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davsclaus Claus Ibsen
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: