thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Apply-change-to-a-route-after-loading-camelcontext-xml-using-GenericApplicationContext-tp5737541p5737628.html
Sent from the Camel - Users mailing list archive at Nabble.com.
xmlns="http://camel.apache.org/schema/spring"/>
>
> In autostartup.properties, define
>
> autostartupOption = true/false
>
>
> Then in the route, add the autoStartup property like followings?
> startupOrder="200">
>
>
>
> --
>
llowings?
--
View this message in context:
http://camel.465427.n5.nabble.com/Apply-change-to-a-route-after-loading-camelcontext-xml-using-GenericApplicationContext-tp5737541p5737615.html
Sent from the Camel - Users mailing list archive at Nabble.com.
route before the spring code starts the Camel, if
> I don't want to change the existing camelcontext.xml.
> Thanks again!
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apply-change-to-a-route-after-loading-camelcontext-
e.com/Apply-change-to-a-route-after-loading-camelcontext-xml-using-GenericApplicationContext-tp5737541p5737595.html
Sent from the Camel - Users mailing list archive at Nabble.com.
that why I need to
> stop the route first, since I haven't started the route yet until
> main.run(); Please explain it a little bit more.
>
> thanks
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apply-ch
ply-change-to-a-route-after-loading-camelcontext-xml-using-GenericApplicationContext-tp5737541p5737544.html
Sent from the Camel - Users mailing list archive at Nabble.com.
; main.setApplicationContext(ctx);
> main.enableHangupSupport();
> main.run();
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Apply-change-to-a-route-after-loading-camelcontext-xml-using-GenericApplicationContext-tp5737541.htm
;route1").getRouteContext().setAutoStartup(false);
Main main = new Main();
main.setApplicationContext(ctx);
main.enableHangupSupport();
main.run();
--
View this message in context:
http://camel.465427.n5.nabble.com/Apply-change-to-a-ro