Hello,

I'm looking for a solution for processing (CSV) files with this flow:
 * consume a list of CSV files (file:///incoming/)
 * unmarshal the CSV contents of each file and process it with a bean
 * if the processing was successful move the corresponding file to directory
A
 * otherwise move it to B

When I unmarshal the CSV the in-message gets altered. I could reassemble the
CSV in the end but I doubt that this is the most effective way. Another
solution was to apply some sort of claim check EIP in order to restore the
in-message after the processing.

Is there a more straightforward way of doing this?

Thanks, mdo.




--
View this message in context: 
http://camel.465427.n5.nabble.com/Unmarshal-CSV-but-continue-route-with-unaltered-message-tp5729446.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to