This is the route XML am using,

<routes xmlns="http://camel.apache.org/schema/spring";>
<sslContextParameters id="sslContextParameters">
    <keyManagers keyPassword="keyPassword">
      <keyStore resource="/home/cert.PEM" password="keyStorePassword" />
</keyManagers>
  </sslContextParameters>
<route id="callTokenService">
        <from uri="direct:inter1" />

<setBody>
<convertBodyTo type="java.lang.String" />
<xpath resultType="java.lang.String">/message/Requestdata/text()</xpath>   
</setBody>

<route id="API">
        <from uri="direct:inter1" />
        
        <log message="Message Body ${body}" loggingLevel="INFO" />

<to
uri="https4://somedomain.com:443/topic?sslContextParametersRef=sslContextParameters"
/>

<to uri="direct:inter2" />
</route>

<route id="ParseResponse">
<from uri="direct:inter2"/ >

<to uri="endpoint"/ >
    </route>
</routes>





--
View this message in context: 
http://camel.465427.n5.nabble.com/PEM-File-for-Authentication-in-route-tp5771084p5771146.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to