camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Roussel <>
Subject Re: Starting camel context not blocking
Date Mon, 08 Mar 2010 00:04:50 GMT

There are some none-spring java examples in the Camel in Action book.  So I
guess they can be found here:

This is about as simple as it gets:


jpcook wrote:
> Hi,
> I noticed that calling start() on camel context doesn't block the thread
> anymore which it used to do in earlier versions of camel. I think this is
> the correct behavior of Camel 2.0.
> But I wondered if there was a simple example of starting the context and
> stopping it exiting straight away without using Spring?
> I've been looking at the MainSupport class from org.apache.camel.util as a
> starting point to have blocked until you hit ctrl + c or call stop() on
> CamelContext but the only example I can see has lots of Spring stuff in
> it?
> Thanks

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message