Hi All,
I am trying to read the properties from a file instead of hard coding them
in the camel:sslContextParameters.
I tried below but the actual value of the property is not getting resolved.
<camel:sslContextParameters id="sslContextParameters">
<camel:keyManagers keyPassword="#${keyStorePassword}">
<camel:keyStore type="#${keyStoreType}" resource="#${keyStore}"
password="#${keyStorePassword}" />
</camel:keyManagers>
<camel:secureSocketProtocols>
<camel:secureSocketProtocol>#${secureSocketProtocol}</camel:secureSocketProtocol>
</camel:secureSocketProtocols>
</camel:sslContextParameters>
<util:properties id="defaultConfiguration">
<prop key="keyStorePassword">test</prop>
<prop key="keyStore">test.p12</prop>
<prop key="keyStoreType">pkcs12</prop>
<prop key="secureSocketProtocol">TLSv1</prop>
</util:properties>
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-configure-camel-to-read-the-properties-for-camel-sslContextParameters-tp5772625.html
Sent from the Camel - Users mailing list archive at Nabble.com.