Hi,

Have you ever seen these doc ?

http://camel.apache.org/camel-configuration-utilities.html
http://camel.apache.org/using-propertyplaceholder.html

I don't understand your #${}

best regards,


Greg AUTRIC                        
JBoss Middleware Consultant

email   : gautric __at__ redhat __dot__ com
twitter : @gautric_io

Red Hat Global Services            
Red Hat France SARL                sit: http://www.redhat.fr
Le Linea, 1 rue du General Leclerc, 92047 Paris La Défense Cedex
Sent from webmail

----- Mail original -----
De: "swapna07" <[email protected]>
À: [email protected]
Envoyé: Mardi 13 Octobre 2015 20:45:15
Objet: how to configure camel to read the properties for 
camel:sslContextParameters

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.

Reply via email to