Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6652

Resolving endpoints before route start leads to JMX registration failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.1
    • 2.12.0
    • camel-core, jmx
    • None
    • Unknown

    Description

      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()

      Attachments

        1. test.zip
          3 kB
          Ming ZI
        2. test.zip
          3 kB
          Ming ZI

        Activity

          People

            davsclaus Claus Ibsen
            avina Ming ZI
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: