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

Swagger does not work if JMX is disabled

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.22.2
    • Fix Version/s: 3.0.0-M1, 3.0.0
    • Component/s: camel-swagger
    • Labels:
      None
    • Estimated Complexity:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: