[ 
https://issues.apache.org/jira/browse/CAMEL-18436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-18436:
--------------------------------
    Fix Version/s: Future
                       (was: 4.0.0)

> camel-core - Avoid using java.net.URI for endpoint parsing
> ----------------------------------------------------------
>
>                 Key: CAMEL-18436
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18436
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: Future
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to