camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis S <>
Subject How to process a file several times?
Date Wed, 07 Nov 2012 05:24:19 GMT

I have the following Camel route:

<route id="processCSV">
    <log message="Processing big file: ${header.CamelFileName}"
    <to uri="direct:csv"/>
    <log message="Done processing big file: ${header.CamelFileName}"/>

So, the route take CSV files from import folder and submits them for
processing. I implemented custom fileProcessingStrategy and sorter. I need
to process one of the files twice. The way I found: I'm renaming it at
commit phase of the first processing. But I suspect rhere is more native way
to do this. May be to raise an exception at commit phase for redelivery?

Thanks, Denis.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message