The file names are "Sample-Test1.xml" "Sample-Test2.xml" and so on..
i also tried this
1. <from
uri="file:{{TEST_HOME}}/myfolder<b>&include=*.xml?move=${file:name}.processed*"
/>
2. <from
uri="file:{{TEST_HOME}}/myfolder<b>&include=.*xml?move=${file:name}.processed*"
/>
3.1. <from
uri="file:{{TEST_HOME}}/myfolder<b>&include=\\.*xml?move=${file:name}.processed*"
/>
--
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-tp5765695p5765722.html
Sent from the Camel - Users mailing list archive at Nabble.com.