I have updated my route as follows, <route id="parseJSON"> <from uri="direct:inter2" />
lContextParameters id="Mysslcontext"> <keyManagers keyPassword="keyPassword"> <keyStore resource="/home/ENV8C/anish.somadevan/keystore_iapiclient-cpo.acp.env1.acp.aws.accenture.com.jks" password="keyStorePassword" /> </keyManagers> </sslContextParameters> <bean beanType="org.apache.camel.component.http4.HttpComponent"> <property name="sslContextParameters" ref="Mysslcontext" /> </bean> <setHeader headerName="CamelHttpMethod"> <constant>GET</constant> </setHeader> <to uri="https4://somedomain.com/tenants" /> I get a different error now, Exhausted after delivery attempt: 1 caught: org.apache.camel.component.bean.AmbiguousMethodCallException: Ambiguous method invocations possible: [public org.apache.camel.EndpointConfiguration org.apache.camel.impl.DefaultComponent.createConfiguration(java.lang.String) throws java.lang.Exception, public org.apache.camel.Endpoint org.apache.camel.impl.DefaultComponent.createEndpoint(java.lang.String) throws java.lang.Exception]. Exchange[Message: Can you please let me know if am on right track in terms of implementation, and how to resolve this error? Thanks, Anish -- View this message in context: http://camel.465427.n5.nabble.com/PEM-File-for-Authentication-in-route-tp5771084p5771226.html Sent from the Camel - Users mailing list archive at Nabble.com.