title: Spring Integration with Azure blob storage using xml
body: <p>Using file adapter I have an inbound channel polling at fixed rate reading the files from a directory, filtering certain files and finally sorting them and sending them to the outbound gateway which again moves the files for processing by a service bean. </p>
  
  <pre><code>&lt;bean id="baseDirectory" class="java.lang.String"&gt;
      &lt;constructor-arg value="${HOME}/user/files/"/&gt;
  &lt;/bean&gt;
  
  &lt;file:inbound-channel-adapter id="testFiles" directory="#{baseDirectory}" filename-regex="^(test_filename.*)-(\d+)\.csv" comparator="someFileOrderComparator"&gt;
      &lt;int:poller fixed-rate="6000"/&gt;
  &lt;/file:inbound-channel-adapter&gt;
  
  &lt;file:outbound-gateway request-channel="testFiles" reply-channel="testFile" directory="#{baseDirectory}/processing" delete-source-files="true”/&gt;
  
  &lt;int:service-activator input-channel="testFile" ref="someServiceTask" method="executeTask”/&gt;
  </code></pre>
  
  <p>This is an example of how we can read files from a file system.</p>
  
  <p>Suppose I want to read the files from an Azure blob storage, say I have a container X which contains folder A. Using account name and account access key how can I tell spring Integration to read the files from folder A of container X.</p>
  
  <p>XML configuration preferred.</p>