Hi All, After spending a lot of time with the namespace issue, I decided to follow a different approach 1st load the appContext via Spring. This appContext has a camel:camelContext that defines the errorHandlerRef attributes and also other items like camel:onException camel:onCompletion
Once the appContext is loaded, then get a hold on the camelContext object. Then load the routes.xml (there are multiple routes.xml) - load them via Spring and get a hold of the routeContext object and add it to the camelContext object. .... This allows me to load multiple routeContexts to a camelContext @ runtTime. (Still I don't have an answer on why I was not able to load via my earlier approach - not sure if the namespace issue I had mentioned is a bug) regards D -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-routeContextRef-under-camel-camelContext-tp5729133p5729340.html Sent from the Camel - Users mailing list archive at Nabble.com.
