I am experiencing something rather strange, and I would like to know if other people have experienced the same ...
I am currently working on a project using jboss fuse (formerly fuse esb) and we are using a plan for our configuration files. We use property owners and have the following files in the src / main / resources / OSGI-INF / blueprint section: blueprint.xml properties.xml
In blueprint.xml we have something like this:
<bean id="myBean" class="com.test.MyClass">
<property name="prop1" value="${my.prop}" />
<∕bean>
Then in properties.xml I have this:
<cm:property-placeholder persistent-id="my.properties" update-strategy="reload">
<cm:default-properties>
<cm:property name="my.prop" value="true" />
</cm:default-properties>
</cm:property-placeholder>
And I obviously have a setter for prop1 (which is a string) in MyClass.
, , prop1 "$ {my.prop}" "true", !
, aaa_properties.xml, !!
?
- ?
:)
JM.