title: Using Spring Integration HttpInbound example
body: <p>I am trying to use Spring-integration inside Spring-boot app in order to download HTTP file and save it to disk.
  I couldnt find any example of doing so.
  looking at the docs I found this:</p>
  
  <pre><code>&lt;bean id="httpInbound"
    class="org.springframework.integration.http.inbound.HttpRequestHandlingController"&gt;
    &lt;constructor-arg value="true" /&gt; &lt;!-- indicates that a reply is expected --&gt;
    &lt;property name="requestChannel" ref="httpRequestChannel" /&gt;
    &lt;property name="replyChannel" ref="httpReplyChannel" /&gt;
    &lt;property name="viewName" value="jsonView" /&gt;
    &lt;property name="supportedMethodNames" &gt;
      &lt;list&gt;
        &lt;value&gt;GET&lt;/value&gt;
        &lt;value&gt;DELETE&lt;/value&gt;
      &lt;/list&gt;
    &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>Still not sure how to connect all the dots. How dynamically I am sending the URL path? </p>
  
  <p>I only found http outbound example.</p>
  
  <p>The scenario is pretty simple. just send via channel a file path to download and thats it</p>
  
  <p>Any practical example?
  thank you.</p>