The below bean is placed in applicationContext.xml
file and i need to read the host
, port
, username
, password
values from config.properties
file which is placed at some xyz
path. How to read it in applicationContext.xml
?
<bean id="ftpSessionFactory" class="org.springframework.integration.ftp.session.DefaultFtpSessionFactory">
<property name="host" value=""/>
<property name="port" value=""/>
<property name="username" value=""/>
<property name="password" value=""/>
</bean>