karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenther Schmidt <schmi...@gmail.com>
Subject Re: Blueprint and managed Services
Date Thu, 14 Dec 2017 03:28:08 GMT
Hello Guillaume,

thank you very much, your answers have been very helpful. With 
update-strategy="component-manged" I do get what I want. I have not 
tested if the configuration of the service implementation is set at 
least before the service is used. The configuration has been "deposited" 
before the bundle was installed.


PS: I have tried to find the answers of my own, but as far as "official" 
document goes it seems a bit sparse ...

Am 12/13/2017 um 4:44 PM schrieb Guillaume Nodet:
> Blueprint does not call setters while the beans are created, so your 
> code does not need to care about changes.
> What happens is that if the configuration changes, the whole blueprint 
> application will be refreshed.
> 2017-12-13 22:45 GMT+01:00 Guenther Schmidt <schmig68@gmail.com 
> <mailto:schmig68@gmail.com>>:
>     Hello Guillaume,
>     thank you very much.
>     I had hoped for an example where a change of several values is
>     transmitted in one go, much like ManagedService.
>     Having configuration values change individually requires me to do
>     quite a bit of reprogramming as right now my code expects all of
>     these values to change atomically.
>     Guenther
> -- 
> ------------------------
> Guillaume Nodet

View raw message