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