Hi Gerald,

afaik this isn't possible as you need a service.
But you always can access the configuration file itself via blueprint,
though the automatic update doesn't work for those anylonger.

regards, Achim


2015-08-17 12:51 GMT+02:00 catshout <[email protected]>:

> Many thanks, Achim.
>
> I've created a configuration service in Java. The configuration variables
> within this service are dynamically updated with injection/setter methods.
> Accessing the configuration values from other beans/routes is now possible
> with service getter methods.
>
> Anyway, adding a new configuration parameter requires always a Java code
> change.
>
> Would it be possible so far to define all properties in one blueprint xml
> like
>
>
>
> and access these properties from an other blueprint xml?
>
> Best
> - Gerald
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/Configuration-Admin-issue-when-sharing-a-config-file-for-Spring-beans-Camel-routes-tp5722877p5722882.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to