Thanks Claus.

I tried the Property Placeholder as described here

https://camel.apache.org/manual/latest/using-propertyplaceholder.html

It works.

Sent by my mobile device
- Gerald Kallas

> Claus Ibsen <claus.ib...@gmail.com> hat am 28. Januar 2020 22:45 geschrieben:
> 
>  
> 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