2 Replies Latest reply on May 30, 2011 4:07 PM by Dimitri Herla

    Retrieve properties set by propertyPlaceHolder in java code

    Dimitri Herla Newbie

      Hello,

       

      I have the following situation.

      I use camel version 2.6.0-fuse-01-09 with the blueprint definition.

      In the blueprint.xml, i use the following :

      properties = exchange.getContext().getProperties();

        String rootPath = properties.get("workingdir.root.path");

        ...

      }

      The properties is empty, why ?

       

      Is it possible to retrieve the property define in the propertyPlaceHolder via the camelContext ?

       

      Thanks in advance

      Dimitri