Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
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
- is related to
-
CAMEL-18435 camel-core - RAW values should be kept as-s
- Resolved
- relates to
-
CAMEL-16221 Rethink endpoints URI usage for camel internals
- Open