java code:
CamelContext context = new DefaultCamelContext();
... ...
// start the route and let it do its work
context.start();
Thread.sleep(2000);
// stop the CamelContext
context.stop();
I have to do it every time?
start sleep stop
Is there a more elegant way to use CamelContext ?- CamelContext start and stop question ltomuno
- Re: CamelContext start and stop question Claus Straube
- Re: CamelContext start and stop question Claus Ibsen
