Hi everyone,

I've written a bean that is leveraging a configuration file through
Configuration Admin, see below the bean.xml file content



Furthermore I've created a blueprint route that is leveraging the same
configuration file, see below the blueprint xml



Everythings works so far, but when I'm gonna to update the config file
sip.properties in etc folder I'm getting this error

2015-08-16 17:25:43,179 | ERROR | Update: pid=sib) | configadmin                
     
| 6 - org.apache.felix.configadmin - 1.8.4 | Cannot use configuration sib
for [org.osgi.service.cm.ManagedService, id=991,
bundle=384/blueprint:file:/home/wbimb/apache-servicemix-6.0.0/deploy/SIBevents.xml]:
No visibility to configuration bound to
file:/home/wbimb/apache-servicemix-6.0.0/deploy/SIBEventProcessor.jar

The SIBEventProcessor.jar is the bean I've mentioned above.

For the error I've found this explanation

https://www.mail-archive.com/users@felix.apache.org/msg14351.html
<https://www.mail-archive.com/users@felix.apache.org/msg14351.html>  

But how can I realize this in my case as everything works declarative
through setter/getter injection?

Any help is really appreciated.



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Configuration-Admin-issue-when-sharing-a-config-file-for-Spring-beans-Camel-routes-tp5722877.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to