You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@wink.apache.org by r_i_c <ri...@richard-cissee.de> on 2010/07/07 15:11:28 UTC
Re: Configuring Custom Properties
The property keys have changed (i.e. the 'Spring Integration' documentation
is not up-to-date):
<prop key="winkPropertiesFactory">customPropertiesFactory</prop>
works. These keys are set in 'wink-core-context.xml'.
Harel, Lior wrote:
>
> Hi Guys,
>
> I am having troubles using the custom properties configuration.
> We are using the spring based configuration for our resources, so I simply
> added the custom properties factory & custom configurer as the
> documentation suggests, i.e.:
> <bean id="customPropertiesFactory"
> class="org.springframework.beans.factory.config.PropertiesFactoryBean">
> <property name="locations">
> <list>
> <value>WEB-INF/qc-wink.properties</value>
> </list>
> </property>
> </bean>
> <bean id="customConfigurer"
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> <property name="ignoreUnresolvablePlaceholders" value="true" />
> <property name="order" value="1" />
> <property name="propertiesArray">
> <list>
> <props>
> <prop key="wink.propertiesFactory">customPropertiesFactory</prop>
> </props>
> </list>
> </property>
> </bean>
>
>
> My properties file is an exact duplicate of the default properties file,
> except for the wink.httpMethodOverrideHeaders property which defines the
> relevant headers.
> Still, I get only the wink default properties.
>
> Can you suggest why don't I get my custom properties initialized?
>
> Thanks,
> Lior
>
>
--
View this message in context: http://apache-wink-users.3471013.n2.nabble.com/Configuring-Custom-Properties-tp4064441p5265153.html
Sent from the Apache Wink Users mailing list archive at Nabble.com.