camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier.Roger" <olivier.ro...@bsb.com>
Subject Re: Properties in Java DSL
Date Mon, 08 Nov 2010 09:01:22 GMT

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.

Mime
View raw message