6 Replies Latest reply on Jun 30, 2014 8:50 AM by Vincent Crepin

    PropertyResolver in blueprint

    Vincent Crepin Newbie

      Hello again.

       

      I have a blueprint file that contains:

       

      <cm:property-placeholder

        persistent-id="EnginCalculCalculPrime$(environnement)100SNAPSHOT">

        <cm:default-properties>

      ...

        </cm:default-properties>

        </cm:property-placeholder>

       

      This works perfectly.

       

      The problem is that it uses the default mechanism to resolve the properties (a file in the etc/ dir of fuse).

       

      Is there a way to specify the location of the property file becauseI need to include it in my bundle ?

       

      I've seen that I can specify a propertyresolver in the camelcontext but my properties are referenced outside of the camel context.

       

      I need that because I want to automate the deployment of these property files and I want them to be included in the profile in order for them to be available on all containers that have this profile.

       

      Thanks