You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicola Ferraro (JIRA)" <ji...@apache.org> on 2017/04/06 08:20:41 UTC

[jira] [Comment Edited] (CAMEL-10650) camel-spring-boot - Allow to configure SSLContextParameters in auto configuration

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

Nicola Ferraro edited comment on CAMEL-10650 at 4/6/17 8:19 AM:
----------------------------------------------------------------

[~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?


was (Author: nferraro):
[~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)