Hi
I try to use properties file to configure components in my service units.
I would like to have one file for several components (for configuration
simplicity).
I put this to (almost) all xbean.xml files
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="ignoreResourceNotFound" value="true" />
<property name="location" value="classpath:OneFile.properties" />
</bean>
According to
http://cwiki.apache.org/SM/discussion-forums.html#nabble-tt6853934%7Ca6854958
it is possible to put properties file to servicemix_home/conf direcotory
(at least for http components).
But during build time (using maven) it is necessary to have properties files
on classpath for each SU.
Otherwise I get "Failed to generate jbi.xml (...) Unable to generate service
unit descriptor (...) java.io.FileNotFoundException". So, I have had to put
props file to resources directory in each SU.
I want to provide properties file ONLY for running time (in
servicemix_home/conf direcotory).
How to turn off processing properties at build time?
P.
--
View this message in context:
http://www.nabble.com/component-properties-tp19598970p19598970.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.