thanks for your help
For example I have two routes like this:
from("cxf://address1").to("cxf:address2").routeId("route1")
from("cxf://address3").to("cxf:address4").routeId("route2")

if i remove the route1 
camelContext.stopRoute("route1");
camelContext.removeRoute("route1");

the route2 will can not work.

the log like this:

2013-11-04 14:46:37 INFO  org.apache.camel.impl.DefaultShutdownStrategy:165
--> Starting to graceful shutdown 1 routes (timeout 300 seconds)
2013-11-04 14:46:37 INFO  org.apache.camel.impl.DefaultShutdownStrategy:210
--> Graceful shutdown of 1 routes completed in 0 seconds
2013-11-04 14:46:37 INFO  org.apache.camel.spring.SpringCamelContext:1882
--> Route: route1 is stopped.
/*2013-11-04 14:46:37 INFO  org.apache.camel.component.cxf.CxfEndpoint:844
--> shutdown the bus ... org.apache.cxf.bus.spring.SpringBus@5aa77506*/
2013-11-04 14:46:37 INFO 
org.eclipse.jetty.server.handler.ContextHandler:698 --> stopped
o.e.j.s.h.ContextHandler{,null}
2013-11-04 14:46:37 INFO 
org.eclipse.jetty.server.handler.ContextHandler:698 --> stopped
o.e.j.s.h.ContextHandler{,null}



--
View this message in context: 
http://camel.465427.n5.nabble.com/cxf-bus-tp5742573p5742578.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to