This content has been marked as final.
Show 2 replies
-
1. Re: Retrieve properties set by propertyPlaceHolder in java code
dherla May 25, 2011 4:17 AM (in response to dherla)Hello,
I find a solution.
I use the following
PropertiesComponent pc =exchange.getContext().getComponent("properties", PropertiesComponent.class);
String rootPath = pc.parseUri("workingdir.root.path");
-
2. Re: Retrieve properties set by propertyPlaceHolder in java code
dherla May 30, 2011 4:07 PM (in response to dherla)Another solution is : CamelContext.resolvePropertyPlaceholders(name);