You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by yoleng <yo...@nsn.com> on 2012/05/04 03:28:03 UTC

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

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.

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

Posted by yoleng <yo...@nsn.com>.
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.

--
View this message in context: http://camel.465427.n5.nabble.com/If-camel-jetty-camel-http-can-dynamically-load-keystore-trustsore-changes-tp5684697p5692796.html
Sent from the Camel - Users mailing list archive at Nabble.com.

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

Posted by ychawla <pr...@yahoo.com>.
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

--
View this message in context: http://camel.465427.n5.nabble.com/If-camel-jetty-camel-http-can-dynamically-load-keystore-trustsore-changes-tp5684697p5685999.html
Sent from the Camel - Users mailing list archive at Nabble.com.

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

Posted by yoleng <yo...@nsn.com>.
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.

--
View this message in context: http://camel.465427.n5.nabble.com/If-camel-jetty-camel-http-can-dynamically-load-keystore-trustsore-changes-tp5684697p5685120.html
Sent from the Camel - Users mailing list archive at Nabble.com.

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

Posted by Willem Jiang <wi...@gmail.com>.
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