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.