camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: how to break out of a batch?
Date Mon, 03 Dec 2012 23:01:39 GMT
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 <bung_ho@hotmail.com> wrote:

> static

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message