L.S.,

I suppose you want to access this from a bean or something inside your Camel
route.  The easiest way to do that would be by creating the bean in the
Spring file where you defined your <camelContext>, leveraging Spring DM to
access either the ConfigurationAdmin (and inject that into your bean
afterwards) ...

<reference id="configAdmin"
interface="org.osgi.service.cm.ConfigurationAdmin"/>

... or use Spring DM's Compendium services support to directly inject the
Map with the configured values (cfr.
http://static.springsource.org/osgi/docs/1.2.0/reference/html/compendium.html).

Regards,

Gert
-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/How-do-I-read-the-property-values-from-ConfigurationAdmin-for-a-PID-from-camel-code-tp512223p512613.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to