This tutorial will show how to use the config admin service in general as well as the special features Karaf provides for it. Please also read the tutorial article on my blog:
- app: A little application that uses the config admin service to read config and be notified of config changes
- app-blueprint: The same as above but now using blueprint to abstract away from the details of the config admin service
mvn clean install
Since Karaf 4.2.x the blueprint feature is not install automatically, you have to install it before.
feature:install aries-blueprint
There is only an automated installation for the blueprint case.
feature:repo-add mvn:net.lr.tutorial.configadmin/configadmin-features/1.0/xml
feature:install tutorial-configadmin