Re: Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-20 Thread bonnahu
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.

Re: Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-20 Thread Christian Posta
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"> > > > > -- >

Re: Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-20 Thread bonnahu
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.

Re: Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-20 Thread Claus Ibsen
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-

Re: Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-20 Thread bonnahu
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.

Re: Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-19 Thread Claus Ibsen
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

Re: Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-19 Thread bonnahu
ply-change-to-a-route-after-loading-camelcontext-xml-using-GenericApplicationContext-tp5737541p5737544.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-19 Thread Christian Posta
; 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

Apply change to a route after loading camelcontext xml using GenericApplicationContext

2013-08-19 Thread bonnahu
;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