Thanks for your suggestion. Am using PEM file for authentication purpose. I
did try using the Http4 component with SSLContextParameters as given below,
<route id="API">
<from uri="direct:inter3" />
<log message="Message Body ${body}" loggingLevel="INFO" />
<setBody>
<simple>${body}</simple>
</setBody>
<sslContextParameters
id="sslContextParameters">
<keyManagers>
<keyStore
resource="/home/Auth/file.PEM"/>
</keyManagers>
</sslContextParameters>
<to
uri="https4://somedomain.com:443/topic?sslContextParametersRef=sslContextParameters"
/>
But i get an error,
JmsConsumer[ISEEOutboundQueue]) CamelOutboundAdapter exception: Failed to
create route JSON-XML at: >>>
To[https4://somedomain.com:443/topic?sslContextParametersRef=sslContextParameters]
<<< in route: Route[[From[direct:inter3]] -> [Log[Message Body ${body}],
S... because of Failed to resolve endpoint:
https4://somedomain.com:443/topic?sslContextParametersRef=sslContextParameters
due to: No bean could be found in the registry for: sslContextParameters of
type: org.apache.camel.util.jsse.SSLContextParameters
Am using Camel 2.10.3 JAR. Can you please let me know if am missing anything
here?
Thanks,
Anish
--
View this message in context:
http://camel.465427.n5.nabble.com/PEM-File-for-Authentication-in-route-tp5771084p5771109.html
Sent from the Camel - Users mailing list archive at Nabble.com.