Hi,

On Tue, May 26, 2015 at 9:46 PM, Roll, Kevin <[email protected]> wrote:
>         @Property(name = "scheduler.expression",
>                 value = "${some.property.scheduler.expression}"),

So you would like scheduler.expression to be set from a system property?

This is not supported out of the box. You could probably implement an
OSGi FindHook to wrap the ConfigurationAdmin service with something
that does the variable replacement, but that sounds a bit tricky.

You could also implement a configuration processor service which has
to be called explicitly when OSGi components read their configuration
values, and does the variable replacement.

-Bertrand

Reply via email to