Claus Ibsen created CAMEL-16234:
-----------------------------------

             Summary: 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


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.3.4#803005)

Reply via email to