title: How to use @RefreshScrop in spring-integration project configured as xml config
body: <p>I am using spring integration to ftp files to a remote server and I am using xml based config.  I would like to use spring cloud config  , so I can move all the properties files to git and use @RefreshScope to refresh the properties.  What's the best way to achieve this in spring integration which has only xmls.</p>
  
  <p>I have the below code :</p>
  
  <pre><code>&lt;bean id="inDefaultSftpSessionFactory"
          class="org.springframework.integration.sftp.session.DefaultSftpSessionFactory"&gt;
          &lt;property name="host" value="${sftp.host}" /&gt;
          &lt;property name="port" value="${sftp.port}" /&gt;
          &lt;property name="user"
              value="${sftp.username}" /&gt;
          &lt;property name="password"
              value="${sftp.password}" /&gt;
          &lt;property name="allowUnknownKeys" value="true" /&gt;
      &lt;/bean&gt;
  </code></pre>