Hi Gerald,

You should better use blueprint-cm for the placeholder or directly Camel
property placeholder (which supports blueprint behind the hood).

See
https://camel.apache.org/manual/latest/using-propertyplaceholder.html#UsingPropertyPlaceholder-UsingBlueprintPropertyPlaceholderwithCamelRoutes

Regards
JB

On 28/01/2020 20:47, Gerald Kallas wrote:
> Dear community,
> 
> I'm using Camel 3.0.0 and have following snippet ..
> 
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>
> <!-- reference to BridgePropertyPlaceholderConfigurer -->
> <bean id="bridgePropertyPlaceholder"
> class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer">
> <property name="location" value="file:${karaf.home}/etc/casisp.cfg" />
> </bean>
> ...
> 
> While deploying I'm getting the following error
> 
> org.osgi.service.blueprint.container.ComponentDefinitionException: Name 
> bridgePropertyPlaceholder is already instanciated as null and cannot be 
> removed.
> 
> With the Sping DSL in Camel 2.x it worked. Any hints are really appreciated.
> 
> Best
> - Gerald
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to