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/09/25 16:54:00 UTC

[jira] [Comment Edited] (CAMEL-15567) components - Generate source code for creating endpoint uri via a map of properties

    [ https://issues.apache.org/jira/browse/CAMEL-15567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17202117#comment-17202117 ] 

Claus Ibsen edited comment on CAMEL-15567 at 9/25/20, 4:53 PM:
---------------------------------------------------------------

TODO: Rename to EndpointUriFactory *DONE*


was (Author: davsclaus):
TODO: Rename to EndpointUriFactory

> components - Generate source code for creating endpoint uri via a map of properties
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-15567
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15567
>             Project: Camel
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.6.0
>
>
> Today we have to use camel-catalog to build endpoint uris via a set of properties/map. As the catalog has all the components and its a json file then it requires to load the json and parse it and use the catalog api to generate the endpoint.
> Maybe we could source code generate java code that can generate this for the component that we can embed inside each component JAR like we do for configurers.
> This would also be faster.
> We can then fallback to the catalog json based if no source code was generated (such as 3rd party components).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)