>>>>> Steinar Bang <s...@dod.no>:

>> Is there a code example somewhere of an SCR component that saves a value
>> to a cfg file in karaf?

Looks like injecting a ConfigRepository service may be the way to go...?
 
https://github.com/apache/karaf/blob/main/config/core/src/main/java/org/apache/karaf/config/core/ConfigRepository.java#L26

I will try!

(I have no prior usages of ConfigRepository in any of my karaf projects,
so not something I have done before)

Reply via email to