Here's a typical example of using configuration in blueprint:

https://github.com/apache/karaf/blob/karaf-2.x/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml

The pid of the configuration is defined using the persistent-id attribute:

https://github.com/apache/karaf/blob/karaf-2.x/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml#L37

and properties are used inside values such as:

https://github.com/apache/karaf/blob/karaf-2.x/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml#L76

Cheers,
Guillaume Nodet


2017-12-13 1:20 GMT+01:00 Guenther Schmidt <schmi...@gmail.com>:

> Hello,
>
> how do I set the system.pid for a service that needs to receive its
> configuration data from the OSGi container using Blueprint?
>
> Guenther
>
>


-- 
------------------------
Guillaume Nodet

Reply via email to