marwan simaan
Aug 11th, 2008, 02:40 AM
Hi,
I want to use properties that I load (from a properties file let's say) using:
<bean class="org.springframework.beans.factory.config.PropertyP laceholderConfigurer">
<property name="location" value="classpath:file.properties"/>
</bean>
In some attributes in spring integration ,where you have a type check, I can't seem to use a variable. One example is the period attribute of the schedule element which is expected to be an integer. This prevents me from using a variable like ${poll.period}.
Is there another way to go around this?
Thanks,
Marwan
I want to use properties that I load (from a properties file let's say) using:
<bean class="org.springframework.beans.factory.config.PropertyP laceholderConfigurer">
<property name="location" value="classpath:file.properties"/>
</bean>
In some attributes in spring integration ,where you have a type check, I can't seem to use a variable. One example is the period attribute of the schedule element which is expected to be an integer. This prevents me from using a variable like ${poll.period}.
Is there another way to go around this?
Thanks,
Marwan