Hi There is API on CamelContext to access the properties, using the resolvePropertyPlaceholders method.
On Thu, Sep 29, 2011 at 3:08 PM, llt <lore...@reality.it> wrote: > Hi, > I'm using PropertiesComponent to configure my endpoints and it works fine, > but sometimes I need to access to the same properties also inside my > Processor class (or bean). Is it possible? > > I found, I think, how to extract my PropertiesComponent from my context > using context.getComponent("properites") > > but I can't figure out a way to access to the properties from > PropertiesComponent. > > Some examples? > > Thanks, > Lorenzo > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Properties-Component-and-Processor-tp4853016p4853016.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/