Quantcast

If camel-jetty/camel-http can dynamically load keystore/trustsore changes

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

If camel-jetty/camel-http can dynamically load keystore/trustsore changes

yoleng
Hi,

One question for caml-jetty/camel-http:

If camel-jetty/camel-http can dynamically load keystore/trustsore changes?

I mean that when this component started, then the keystore/truststore changed (example is: import one new certification to truststore). then this changed truststore can be dynamically loaded by this component? if so, how?

Thanks.

Regards.
Leng Yong.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If camel-jetty/camel-http can dynamically load keystore/trustsore changes

Willem.Jiang
Hi

I'm afraid you have to restart the camel context to load the change.

On Fri May  4 09:28:03 2012, yoleng wrote:

> Hi,
>
> One question for caml-jetty/camel-http:
>
> If camel-jetty/camel-http can dynamically load keystore/trustsore changes?
>
> I mean that when this component started, then the keystore/truststore
> changed (example is: import one new certification to truststore). then this
> changed truststore can be dynamically loaded by this component? if so, how?
>
> Thanks.
>
> Regards.
> Leng Yong.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/If-camel-jetty-camel-http-can-dynamically-load-keystore-trustsore-changes-tp5684697.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If camel-jetty/camel-http can dynamically load keystore/trustsore changes

yoleng
Hi,

Thanks, @willem

If I restart the context, then that means the business should be broken for the restart time. if there exist some way not to break the business?

Regards.
Leng Yong.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If camel-jetty/camel-http can dynamically load keystore/trustsore changes

ychawla
Hi Leng,
The keystore/truststore updates should be infrequent, right?  Do you have a production environment with load balancing/failover?  If so, you can take one server out of commission and perform maintenance and then update the other server.  Otherwise, you probably have to do it in a maintenance window.

The other thing to look at if you control both client and server is having the client use a dead letter error handler to attempt retries after a connection failure.  This way if the server is down, you can retry the request after a certain interval.

-Yogesh
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If camel-jetty/camel-http can dynamically load keystore/trustsore changes

yoleng
Hi,Yogesh

Thanks for your suggestion.

I did not select the load balancer. so only one instance in our component.:)

also we did not control the client, but I can check the client guys how the behave of the client.

So the sumarrization is: we could not dynamically load keystore/truststore. the only way we can do is to recreate the context/road or restart our component, but it will affect the business.

Regards.
Leng Yong.
Loading...