You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Gershaw, Geoffrey A. " <ge...@credit-suisse.com> on 2016/08/16 22:03:17 UTC

Retrieve all properties in CamelContext

Hello,


I have seen the question asked, but I don't see a clean solution to get all the properties from a CamelContext so that I may print them out.  I'm using the BridgePropertyPlaceholderConfigurer. I am at Camel 2.16.x. Any advice is appreciated



Thanks much,



Geoff

=============================================================================== 
Please access the attached hyperlink for an important electronic communications disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 

Re: Retrieve all properties in CamelContext

Posted by Claus Ibsen <cl...@gmail.com>.
Are you talking about property placeholders? And if you are using
Spring then those properties are from Spring. There is no API in Camel
to get all properties. Its not possible and easy to do.

If your properties are externailized to .properties files, then you
can find those files and read the properties yourself to list.

On Wed, Aug 17, 2016 at 12:03 AM, Gershaw, Geoffrey A.
<ge...@credit-suisse.com> wrote:
> Hello,
>
>
> I have seen the question asked, but I don't see a clean solution to get all the properties from a CamelContext so that I may print them out.  I'm using the BridgePropertyPlaceholderConfigurer. I am at Camel 2.16.x. Any advice is appreciated
>
>
>
> Thanks much,
>
>
>
> Geoff
>
> ===============================================================================
> Please access the attached hyperlink for an important electronic communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ===============================================================================



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2