Hi You didn't start the camel context, so the component is not started, so the connection manager is not initialised either. Please try camelCtx.start();
Taariq On Mon, Feb 20, 2012 at 8:33 PM, ckiran <kiranchan...@ymail.com> wrote: > This is he exact exceptionI get when I run the code. > > org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: > https4://localhost:8443 due to: null > at > > org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:443) > at > > org.apache.camel.impl.DefaultProducerTemplate.resolveMandatoryEndpoint(DefaultProducerTemplate.java:423) > at > > org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:95) > at CamelHttpsClient.main(CamelHttpsClient.java:31) > Caused by: java.lang.NullPointerException > at > > org.apache.camel.component.http4.HttpComponent.registerPort(HttpComponent.java:251) > at > > org.apache.camel.component.http4.HttpComponent.createEndpoint(HttpComponent.java:219) > at > > org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:75) > at > > org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:425) > ... 3 more > > -- > View this message in context: > http://camel.465427.n5.nabble.com/HTTPS-Usage-tp5499772p5499879.html > Sent from the Camel - Users mailing list archive at Nabble.com. >