I don't think you really want to stop the route (the route will no longer polling for files and process these files). I think you want to stop processing the exchange (the file) which is faulty. In this case, you can use stop().
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/RouteStopTest.java Best, Christian On Mon, Dec 3, 2012 at 4:52 PM, bung_ho <[email protected]> wrote: > static
