[FIS] How to use property placeholder for SSL configuration in Camel on SringBoot ?

Solution Verified - Updated -

Issue

  • The attributes of element can't be replaced by property placeholder in spring boot:
    e.g:
    <camel:sslContextParameters id="MySslContextParameter" camelContextId="exampleSsl">
        <camel:keyManagers keyPassword="password">
            <camel:keyStore password="password" resource="src/main/deployments/keys/keystore.jks"/>
        </camel:keyManagers>
        <camel:trustManagers>
            <camel:keyStore password="password" resource="src/main/deployments/keys/truststore.ts"/>
        </camel:trustManagers>
        <camel:serverParameters clientAuthentication="REQUIRE"/>
    </camel:sslContextParameters>

Environment

  • Fuse Integration Service (Spring Boot only)
    • 2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.