camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taariq Levack <taar...@gmail.com>
Subject Re: HTTPS Usage
Date Tue, 21 Feb 2012 05:32:43 GMT
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 <kiranchandra@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message