Hi

Can you try with Camel 2.5 as we have fixed some issue in relation to
autoStartup=false.


On Wed, Jan 12, 2011 at 12:11 PM, James Morgan <[email protected]> wrote:
> 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
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to