Hi Laci,
can you try to refresh the blueprint bundle once the cfg file is there ?
Regards
JB
On 01/26/2016 04:59 PM, Laci Gaspar wrote:
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
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com