You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ming ZI (JIRA)" <ji...@apache.org> on 2013/08/20 08:02:51 UTC

[jira] [Updated] (CAMEL-6652) Resolving endpoints before route start leads to JMX registration failure

     [ https://issues.apache.org/jira/browse/CAMEL-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ming ZI updated CAMEL-6652:
---------------------------

    Attachment: test.zip
                test.zip

a test case
                
> 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
>         Attachments: test.zip, test.zip
>
>
> 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