So that the Camel router is shutdown for the maintenance or upgrade. There is no need to shutdown your broker with Camel. Right? For my case my broker services many other applications including the Camel based message router. I can independently stop each other but if I stop Message Broker then Camel logs shows Exceptions... hence in that case I may stop the Camel first and then the Broker.
Probably you have this question since you run Camel within the Apache ActiveMQ broker? Hari Gangadharan selezovikj wrote: > > In the doStop() method of org.apache.camel.spring.Main class the > application context is closed. > What will this actually do ? > Let us say in my camel-server.xml file, I have definitions for an activemq > broker running on port 61616. > When I close the application context the broker does not shutdown. > What does closing the application context result with ? > > -- View this message in context: http://www.nabble.com/Two-questions%3A-Stopping-Camel-and-intercept-before-retry-tp21323127s22882p21494364.html Sent from the Camel - Users mailing list archive at Nabble.com.