camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From talk2patel86 <>
Subject Camel File component should not rename file when an exception is thrown
Date Mon, 28 Oct 2013 06:11:02 GMT
Hi There,
 I have camel route configured as below: 

<route id="text-file-route">
			<split streaming="true">
				<tokenize token="\n" />
				<process ref="splitBatchAdapterProcessor" />
				<process ref="merchantStreamProcessor" />
				<process ref="merchantTableProcessor" />
				<to uri="mock:dummy" />

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:
Sent from the Camel - Users mailing list archive at

View raw message