Are you by any chance running this inside a unit test? Beware that the assertion waits for some time for expectations to be fulfilled (I think 10 secs).
Therefore it's possible that your test code is finalising while you debug. Check out the setAssertPeriod method in Mock endpoint [1]. Regards, Raúl. [1] http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/component/mock/MockEndpoint.html On 20 Dec 2012 20:10, "ltsallas" <lef...@yahoo.com> wrote: > Hi, > > I am debugging some unit tests with routes using the file component > consumer. When stopping on a breakpoint after a while I am getting. > > 2012-12-20 21:38:22,750 [main ] INFO > DefaultShutdownStrategy - Starting to graceful shutdown 1 routes > (timeout 10 seconds) > 2012-12-20 21:38:22,757 [ - ShutdownTask] INFO DefaultShutdownStrategy > - Waiting as there are still 1 inflight and pending exchanges to complete, > timeout in 10 seconds. > .... > .... > 2012-12-20 21:38:32,756 [main ] WARN > DefaultShutdownStrategy > - Timeout occurred. Now forcing the routes to be shutdown now. > > And the routes are shutting down. > > Can I somehow avoid this situation? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Debugging-file-component-breakpoint-tp5724468.html > Sent from the Camel - Users mailing list archive at Nabble.com. >