Wanted to know , how can i use camel file component to pattern match and get
the file ending with .xml and then later rename it to
filename.xml.processed.

....
<camelContext trace="false"     xmlns="http://camel.apache.org/schema/spring";>
<route id="loadtoMemory">
        <from
uri="file:{{TEST_HOME}}/myfolder?move=${date:now:yyyyMMdd}/${file:name}" />
                                
        <process ref="processFile" />
</route>
.....
</camelContext>

tried
*file:{{TEST_HOME}}/myfolder&amp;include=.*.xml?move=${file:name}.processed"*

but its not working any help would be appreciated

Regards,
Nitesh



--
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-tp5765695.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to