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

Swagger does not work if JMX is disabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.22.2
    • 3.0.0-M1, 3.0.0
    • camel-swagger
    • None
    • Unknown

    Description

      Swagger returns 402 No Content if jmx is disabled.

      How to reproduce:
      Add following code to main method of Application class

      System.setProperty("org.apache.camel.jmx.disabled", "true");

       

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              marat.gubaidullin Marat Gubaidullin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: