Thanks for the answers.
I used an extended Thread.sleep and it works fine.
--
View this message in context:
http://camel.465427.n5.nabble.com/Debugging-file-component-breakpoint-tp5724468p5724486.html
Sent from the Camel - Users mailing list archive at Nabble.com.
That's it,
If you want to debug the unit test, you may consider to add Thread.sleep(xxx)
to make the unit test wait for you. Otherwise, camel context will be shutdown
when the test is finished.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com |
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,
Read the doc http://camel.apache.org/graceful-shutdown.html
Best,
Christian
On Thu, Dec 20, 2012 at 9:09 PM, ltsallas wrote:
> DefaultShutdownStrategy
--