camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-9419) camel-spring-boot - Add endpoint options as type-safe configuration properties
Date Mon, 06 Jun 2016 15:28:21 GMT


Claus Ibsen commented on CAMEL-9419:

The screenshot shows the AHC component with generated configuration from the spring boot APT.

We are not there yet as ideally this should configure the AHC component with the options you
configure, but Spring Boot rely on the class has ConfiguraitonProperties annotation and that
is from spring boot JAR which we do not want as dependency on camel-ahc. 

So maybe we need to create -starter modules for the components where we can generate thin
java source code and maven pom.xml files to include what we need for Spring Boot APT to generate
its stuff.

Then spring boot users, just add camel-ahc-starter as module, and it has auto configuration
enabled, and you can configure in the application.yml file.

We can then also try to do this on the endpoint level, so you can do


We could then use this as a sort of default options for components/endpoints of that type.

> camel-spring-boot - Add endpoint options as type-safe configuration properties
> ------------------------------------------------------------------------------
>                 Key: CAMEL-9419
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-spring-boot
>            Reporter: Claus Ibsen
>             Fix For: 2.18.0
>         Attachments: sb-camel-ahc.png
> So you in the etc can integrate with the camel catalog, so we
can provide type safe options in SB and the tooling would use this out of the box.
> And make the type-safe options for configuring CamelContext itself, so you can configure
options like tracing, shutdown timeout, and various others you may enable.
> And also for JMX management etc.

This message was sent by Atlassian JIRA

View raw message