Thanks for the hint.

I have to come back to my original problem, though.

We are initializing a camel route by spring. The configuration variables are read by the ManagedService. When we install a new bundle, it happens, that the camel route is initialized before the configuration file is read... is there a way to synchronize this?

Regards,
Laci


On 26.06.2014 16:10, Achim Nierbeck wrote:
No,

one service, one cfg file. You need to make sure you have a different service for it or use a ManagedService Factory for it. In that case you'll have a new service instance connected to another cfg file.
For example:
org.whatever.package-one.cfg
org.whatever.package-two.cfg

will result in two Services, where the first is configured with the property of config file one and the second with file two.

regards, Achim


Reply via email to