This content has been marked as final.
Show 1 reply
-
1. Re: How do I access an external property file from my services deployed in FUSE
edelln Nov 5, 2008 9:16 AM (in response to aishwaryabk)Hi,
Have you tried doing something like the following
In your xbean.xml file
Example:
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="location" value="classpath:passwords.properties"></property> </bean> <bean id="ExampleId" class="com.iona.fuse.example.processor"> <property name="userId" value="${userId.property}"></property> </bean>
So userId.property is defined in your password.properties file
If you put the password.properties file in the resources directory of the SU it should be on the classpath.
Hope this helps, Edell.