Hi

You should NOT use spring stuff with blueprint, eg do not use
BridgePropertyPlaceholderConfigurer, its only for camel-spring.


On Tue, Jan 28, 2020 at 8:47 PM Gerald Kallas <catsh...@mailbox.org> 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



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to