Just to clear things up if anyone else should read this. On page 378 it is shown that you can use .shutdownRoute() instead of .stopRoute(). shutdownRoute() shuts down gracefully and hence waits the entire batch to complete before shutting down the route.
This change should in this case then be implemented in the StopThisRouteProcessor. -- View this message in context: http://old.nabble.com/Problems-shutting-down-route-onCompletion-tp28707903p28708403.html Sent from the Camel - Users mailing list archive at Nabble.com.