Re: IllegalThreadStateException on cold restart of BatchProcessor

2010-12-07 Thread sembler
Upgrading to 2.5 did away with the Exception. I also added two tests for using start/stop and suspend/resume with the ServiceHelper to verify that I wasn't calling methods in unintended ways. All of these tests pass in the 2.5 version, and not in 2.2. Looks like the version change fixes everyth

IllegalThreadStateException on cold restart of BatchProcessor

2010-12-07 Thread sembler
Hi, As a relative newbie to Apache Camel I was experimenting with shutting down and restarting a route when certain conditions are met in my program (using camel-core 2.2.0). While doing this I encountered an IllegalThreadStateException in the BatchProcessor class of a resequencer that my route