title: Mule File Inbound Move to Pattern
body: <p>I am processing a text file and works fine except the moveToPattern in the file inbound. After processing the file I need it to be renamed to xxx.processed. For that I am using a moveToPattern. That doesn't seem working. So also its not being deleted although I am setting to autoDelete to true. Below is the code snippet</p>
  
  <pre><code>    &lt;file:connector name="Outbound_File" autoDelete="true" streaming="true" validateConnections="true" pollingFrequency="300000" doc:name="File"  /&gt;
  
  &lt;flow name="integrationFlow1" doc:name="integrationFlow1"&gt;
      &lt;file:inbound-endpoint path="${inbound.path}" moveToPattern="#[message.inboundProperties.originalFilename].processed"  responseTimeout="10000" doc:name="File" connector-ref="Outbound_File" &gt;
          &lt;file:filename-regex-filter pattern="xxx_(.*).txt" caseSensitive="true"/&gt;
      &lt;/file:inbound-endpoint&gt;
  </code></pre>
  
  <p>Many thanks.</p>