[
https://issues.apache.org/jira/browse/CAMEL-16100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318677#comment-17318677
]
Claus Ibsen commented on CAMEL-16100:
-------------------------------------
This helps optimize when resolving and normalizing endpoints, especially for
dynamic uris which would be using seda:foo syntax which we can then quickly
detect is already in correct format and avoid parsing and creating new objects
- which reduces object allocations.
> camel-core - Normalizing endpoints (remove the double slash rule)
> -----------------------------------------------------------------
>
> Key: CAMEL-16100
> URL: https://issues.apache.org/jira/browse/CAMEL-16100
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 3.x
>
>
> endpoint such as
> seda:foo
> become seda://foo when normalized as it aided to match up similar endpoints,
> such as http:apache.org vs http://apache.org, and file:foo vs file://foo
> however the double slash is a bit annoying and today with some better
> algorithm we can likely remove this rule, and make endpoint as-is.
> And have better logic to match that http:apache.org and http://apache.org
> would be the same etc.
> However its rooted for soo long, so lets keep this in the backlog for v4 or
> some day in v3
--
This message was sent by Atlassian Jira
(v8.3.4#803005)