Hi,

I'm trying to use the option noAutoStartup() inside my RouteBuilder to
prevent a particular route from starting automatically.

The problem I'm having is that when I start my routes up in production via
spring the route is stopped as expected, but when I try simulating the route
in a test case using  CamelSpringTestSupport it seems to ignore this option
and start the route anyway.

I'm loading the exact same routes from production in my test case but they
are always started.

I've dug a little in to the source but cant see anything obvious and can
only think it is down to the fact I'm using CamelSpringTestSupport .

Camel version I'm using is 2.3.0.

Any ideas how I can get around the route automatically starting or is this a
known issues/feature. If so can it be overridden?

Cheers in advance.

James

Reply via email to