camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming ZI (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6652) Resolving endpoints before route start leads to JMX registration failure
Date Tue, 20 Aug 2013 05:58:53 GMT
Ming ZI created CAMEL-6652:
------------------------------

             Summary: Resolving endpoints before route start leads to JMX registration failure
                 Key: CAMEL-6652
                 URL: https://issues.apache.org/jira/browse/CAMEL-6652
             Project: Camel
          Issue Type: Bug
          Components: camel-core, jmx
    Affects Versions: 2.11.1
            Reporter: Ming ZI


If resolve endpoint before route start, MBeans for component & endpoint can't be found
in jconsole.

Example code:
public void configure() {
  from(xxx).to(yyy);
  ...
  endpoint(xxx); // resolve the endpoint before start
}

Or:
camelContext.getEndpoint(xxx); // resolve the endpoint before start
...
camelContext.start()



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message