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 2023/12/20 09:58:00 UTC

[jira] [Commented] (CAMEL-16234) camel-main - Allow 3rd party components to offer configuration options

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

Claus Ibsen commented on CAMEL-16234:
-------------------------------------

[~lb] fyi

> camel-main - Allow 3rd party components to offer configuration options
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-16234
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16234
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Ibsen
>            Priority: Major
>
> Today we put stuff into camel-main for various things you can configure. Most of that are stuff that is in core.
> But when we have components outside core, that are pluggable, then it would be great if they can provide their own configuration with them, and then have that as metadata and a configuration class (for java based configuration).
> We need the maven tooling to generate those meta data file, and java based configuration fluent builders.
> Then for java you can register the addon in main ala
> main.configure(MyFooThingy.class)
>    .someFooStuffHere(true)
>    .someOtherFooish(123)
> .end()
> For example camel-saga, and the 3 circuit breakers are today hardcoded into camel-main.
> Those can be candidates to try out with.



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