Hi
Im trying to use the property-placeholder in my blueprint.xml configuration:

<cm:property-placeholder persistent-id="mybundle" update-strategy="reload">
            <cm:default-properties>
                <cm:property name="serverName" value="jupiter" />
            </cm:default-properties>
        </cm:property-placeholder>

     <bean id="dataSource" class="org.postgresql.ds.PGSimpleDataSource" >
      <property name="serverName" value="${serverName}"/>
    ...


In ${karaf.home}/etc/mybundle.cfg I have:
serverName=localhost

The property serverName is not reading the value in the cfg file, it is always the default value "jupiter".
What am I missing?

thanks,
Laci

Reply via email to