Endpoint are not assigned to correct contexts ---------------------------------------------
Key: CAMEL-1612 URL: https://issues.apache.org/activemq/browse/CAMEL-1612 Project: Apache Camel Issue Type: Bug Components: camel-core Affects Versions: 2.0-M1 Environment: Java 1.6, Spring 2.5.6 Reporter: Siegfried Wirth When defining routes in two camel contexts the endpoints are not correctly assigned to the contexts. The bug can easily be observed by using jconsole / jmx. For one camel context the endpoints are not registered. >From debugging up to InstrumentationLifecycleStrategy#onEndpointAdd(Endpoint) >it looks like the order of starting contexts and registering endpoints is >wrong. (Camel tries to add endpoints with this method to one context before >(initialized) and so the endpoints are not really added. It looks like the >reason for this is in the order of initializing contexts and routes/endpoints.) See also discussion http://www.nabble.com/Two-camel-contexts-and-assinging-endpoints-(visible-by-jconsole%2C-jmx)-td23520282.html. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.