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/22 07:25:00 UTC
[jira] [Commented] (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=17199893#comment-17199893 ]
Claus Ibsen commented on CAMEL-15567:
-------------------------------------
See comments on
https://github.com/apache/camel-k-runtime/pull/486
> 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
> 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)