madhav
Apr 5th, 2006, 12:45 AM
Hi all,
While using activemq jms with spring, I came across a problem related to specifying location property.
The following bean definition for PropertyPlaceholderConfigurer DIDNT WORK.
<bean class="org.springframework.beans.factory.config.PropertyP laceholderConfigurer">
<property name="location">
<value>classpath:mydir/my.properties</value>
</property>
</bean>
But the following bean definition WORKS !!!
<bean class="org.springframework.beans.factory.config.PropertyP laceholderConfigurer">
<property name="location" value="classpath:mydir/my.properties" />
</bean>
Any ideas?
Thanks a lot :)
-Madhav
While using activemq jms with spring, I came across a problem related to specifying location property.
The following bean definition for PropertyPlaceholderConfigurer DIDNT WORK.
<bean class="org.springframework.beans.factory.config.PropertyP laceholderConfigurer">
<property name="location">
<value>classpath:mydir/my.properties</value>
</property>
</bean>
But the following bean definition WORKS !!!
<bean class="org.springframework.beans.factory.config.PropertyP laceholderConfigurer">
<property name="location" value="classpath:mydir/my.properties" />
</bean>
Any ideas?
Thanks a lot :)
-Madhav