@Costin,
Thank you for replying. Let me try to me more specific on what I would like to achieve. Let's say I have this datasource YAML config:
datasource.yml:
Code:
datasource:
url: jdbc:hsqldb:file:hsqldb/sample
username: sa
password:
configuration:
driver: org.hsqldb.blabla
I would like to be able to use "property-placeholder":
Code:
<context:property-placeholder location="classpath:META-INF/env/props/datasource.yml"/>
and I would like to access properties in a normal "property-placeholder" way:
Code:
<bean id="datasource" class="...">
<property name="url" value="${datasource.url}"/>
<property name="username" value="${datasource.username}"/>
.... .... ....
</bean>
Thank you,
/Anatoly