title: How to read and delete int-redis:store-inbound-channel-adapter messages on each poll
body: <p>Using this basic configuration : </p>
  
  <pre><code>&lt;int-redis:store-inbound-channel-adapter id="listAdapter"
      connection-factory="redisConnectionFactory"
      key="messages"
      channel="redisChannel"
      collection-type="LIST" 
      &gt;
          &lt;int:poller fixed-rate="2000" /&gt;
  &lt;/int-redis:store-inbound-channel-adapter&gt;
  </code></pre>
  
  <p>Messages that are read and put to redisChannel are also left in Redis. Is there a way to read and delete messages from Redis at the same time and put them to redisChannel, using this configuration?
  I can do it manually using scheduler and executing redis commands that I need, but that feels like hacking around spring integration.</p>