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 2019/11/19 16:15:00 UTC
[jira] [Commented] (CAMEL-14193) Apache Camel config in spring-boot
application.yml is not taking effect
[ https://issues.apache.org/jira/browse/CAMEL-14193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16977602#comment-16977602 ]
Claus Ibsen commented on CAMEL-14193:
-------------------------------------
try with camel-http4-starter as camel-http is deprecated and should not really be used
> Apache Camel config in spring-boot application.yml is not taking effect
> -----------------------------------------------------------------------
>
> Key: CAMEL-14193
> URL: https://issues.apache.org/jira/browse/CAMEL-14193
> Project: Camel
> Issue Type: Bug
> Components: camel-spring-boot, camel-spring-boot-starters
> Affects Versions: 2.24.2
> Reporter: Frans
> Priority: Major
> Attachments: apache-camel-demo.tar.xz
>
>
> I am struggling to get the global SSL configuration to work. I am running Apache Camel within Spring boot. It seems the configuration in application.yml is ignored. The SSL context is not created and the use-global-ssl-context-parameter is ignored for http component.
> Versions
> * Spring-Boot: 2.1.9-RELEASE
> * Apache Camel: 2.24.2
> Dependencies included in pom:
> * camel-spring-boot
> * camel-spring-boot-starter
> * camel-http-starter
> Configs (application.yml)
> {code:java}
> camel:
> component:
> http:
> use-global-ssl-context-parameters: true
> ssl:
> config:
> key-managers:
> key-password: "changeit"
> key-store:
> resource: "/keystore.p12"
> password: "changeit"
> type: "PKCS12"
> trust-managers:
> key-store:
> resource: "/cacerts"
> password: "changeit"
> type: "jks"{code}
>
> I have attached a sample project setup as per documentation... i think...
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)