camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ferraro (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10650) camel-spring-boot - Allow to configure SSLContextParameters in auto configuration
Date Thu, 06 Apr 2017 08:19:41 GMT

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

Nicola Ferraro commented on CAMEL-10650:
----------------------------------------

[~davsclaus] There are multiple issues with code generation when code is splitted in multiple
classes in different modules (will open other jiras for 2.20).. 

I'm thinking to provide a default value of the context parameters in the spring-boot module
(manually coded). That value can be configured in a common place for every module:

{code}
camel:
  ssl:
    enabled: true
      config:
        cert-alias: xxx
        key-managers:
          provider: yyy
...
{code}

Each module using SSLContextParameters will try to lookup the default value from the registry
if a specific value is not provided in their configuration.

This is in line with spring-boot way of handling ssl (https://docs.spring.io/spring-boot/docs/current/reference/html/howto-embedded-servlet-containers.html#howto-configure-ssl).

Wdyt?

> camel-spring-boot - Allow to configure SSLContextParameters in auto configuration
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-10650
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10650
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-spring-boot
>            Reporter: Claus Ibsen
>            Assignee: Nicola Ferraro
>             Fix For: 2.19.0
>
>
> Camel has org.apache.camel.util.jsse.SSLContextParameters from
> http://camel.apache.org/camel-configuration-utilities.html
> We should allow to configure this from spring boot auto configuration so people can easier
setup this in the application properties file etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message