Thanks Claus,
I got this working using
getContext().resolvePropertyPlaceholders("{{key}}"));
However, I could not retrieve the Propeties Object from the context.
When I use this :
Map<String, String> properties = getContext().getProperties();
System.out.println("size=" + properties.keySet().size());
The output is always "size=0".
Is there a reason for this ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Properties-in-Java-DSL-tp3242156p3254659.html
Sent from the Camel - Users mailing list archive at Nabble.com.