Hi There,
I have camel route configured as below:
<route id="text-file-route">
<from
uri="file:files/merchant?antInclude={{include-file-type}}&initialDelay=1000&delay=1000&move=${file:name.noext}.processed"
/>
<split streaming="true">
<tokenize token="\n" />
<process ref="splitBatchAdapterProcessor" />
<process ref="merchantStreamProcessor" />
<process ref="merchantTableProcessor" />
<to uri="mock:dummy" />
</split>
</route>
With current configuration the file gets renamed even if an exception is
thrown while processing the file.
What i want is, the file should only be rename if no exception is thrown
while the file.
I an using camel 2.12.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-File-component-should-not-rename-file-when-an-exception-is-thrown-tp5742284.html
Sent from the Camel - Users mailing list archive at Nabble.com.