You should most likely use ref in the location to refer to that OSGi
property stuff.

        <propertyPlaceholder id="properties"
 location="ref:crg-properties" />


On Fri, Oct 29, 2010 at 6:15 PM, Olivier.Roger <[email protected]> wrote:
>
> It appears that in both cases the Properties Object does not contains any
> entry.
> I use this to load it in the CamelContext.
>
>    <util:properties id="crg-properties"
> location="classpath:properties/endpoints.properties" />
>    <ctx:property-placeholder properties-ref="crg-properties" />
>
>    <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";
> trace="true">
>        <propertyPlaceholder id="properties"
> location="classpath:properties/endpoints.properties" />
>
> Am I doing something wrong here ?
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Properties-in-Java-DSL-tp3242156p3242285.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to