[ https://issues.apache.org/activemq/browse/CAMEL-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54217#action_54217 ]
Siegfried Wirth commented on CAMEL-1612: ---------------------------------------- Sehr geehrter Sender, Ich bin bis einschließlich 21. September 2009 nicht im Büro und werde während dieser Zeit keine E-Mails lesen. Ihre E-Mails werden nicht weitergeleitet. Mit freundlichen Grüßen Siegfried Wirth This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. > 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 > Assignee: Claus Ibsen > Fix For: 2.1.0 > > Attachments: applicationContext.xml, jconsoletwocontexts.png > > > 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.