Hi, i don't know how it is modifying the URL after i deploy, so i removed "&" before include
<from uri="file:{{TEST_HOME}}/myfolder/?&include=Sample.*xml?move=${date:now:yyyyMMdd}/${file:name}.processed" /> java.util.regex.PatternSyntaxException: Illegal repetition near index 17 Sample.*xml?move=${date:now:yyyyMMdd}/${file:name}.processed ^ at java.util.regex.Pattern.error(Pattern.java:1924)[:1.7.0_67] at java.util.regex.Pattern.closure(Pattern.java:3104)[:1.7.0_67] at java.util.regex.Pattern.sequence(Pattern.java:2101)[:1.7.0_67] at java.util.regex.Pattern.expr(Pattern.java:1964)[:1.7.0_67] -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765750.html Sent from the Camel - Users mailing list archive at Nabble.com.