You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/08/21 15:39:00 UTC
[jira] [Commented] (CAMEL-15446) AbstractCamelContext methods with
similar behavior
[ https://issues.apache.org/jira/browse/CAMEL-15446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181954#comment-17181954 ]
Claus Ibsen commented on CAMEL-15446:
-------------------------------------
I suspect that we have two because of endpoint-dsl and also internal optimizations with normalized vs non-normalized uris.
> AbstractCamelContext methods with similar behavior
> --------------------------------------------------
>
> Key: CAMEL-15446
> URL: https://issues.apache.org/jira/browse/CAMEL-15446
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Luca Burgazzoli
> Priority: Minor
>
> The AbstractCamelContext class provides two similar methods:
> {code:java}
> Endpoint doGetEndpoint(String uri, boolean normalized, boolean prototype)
> Endpoint doGetEndpoint(String uri, Map<String, Object> parameters, boolean normalized)
> {code}
> would be nice to have them merged to reduce the rissk of bugs like https://issues.apache.org/jira/browse/CAMEL-15445
--
This message was sent by Atlassian Jira
(v8.3.4#803005)