On Fri, Aug 24, 2012 at 12:38 PM, livensn <nickliv...@gmail.com> wrote:
> Hi all,
>
> I have this configuration :
>
> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
>         <routeBuilder ref="allRoutes" />
> </camelContext>
>
> <camelContext id="contactReportCamelContext"
> xmlns="http://camel.apache.org/schema/spring"; autoStartup="false">
>         <routeBuilder ref="contactReportRoute" />
> </camelContext>
>
> The first camelcontext should start automatically as it does. The second
> shouldn't start automatically because of autoStartup="false". But it does
> autostart my route.
> I suppose that if you don't start the context, the route won't get started?
> Or am I wrong here?
>

The 2nd should start Camel, but not the routes, (unless a route has
been configured to force auto starting).

What version of Camel do you use.


> Thank you,
>
> Nick
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/CamelContext-autoStartup-false-not-working-tp5717994.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to