Re: How to load all properties from CamelContext

2021-03-22 Thread Claus Ibsen
Hi Ah I took a look and yeah we should make that loadable. I created a ticket https://issues.apache.org/jira/browse/CAMEL-16384 On Mon, Mar 22, 2021 at 3:59 PM Claus Ibsen wrote: > > Hi > > BridgePropertyPlaceholderConfigurer is bridging to Spring, which has > its own way of loading properties.

Re: How to load all properties from CamelContext

2021-03-22 Thread Claus Ibsen
Hi BridgePropertyPlaceholderConfigurer is bridging to Spring, which has its own way of loading properties. Camel doesn't really know how Spring does that. So you can look at the spring api if and how you can get spring to return all its loaded properties. On Fri, Mar 19, 2021 at 1:04 AM Michel

How to load all properties from CamelContext

2021-03-18 Thread Michele Olsen
Hi, These 2 lines of code were working for me with Camel 2.22.0 to retrieve all properties from a CamelContext: PropertiesComponent p = (PropertiesComponent) context.getComponent("properties",false) return p.getPropertiesResolver().resolveProperties(context,false,pro.getLocations()) After upgrading