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

createRouteStatisticEndpointJson - Returns invalid json if no routes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.13.0
    • 2.13.1, 2.14.0
    • camel-core, jmx
    • None
    • Unknown

    Description

      If there is no routes, we have an extra } which should not be there

      {
        "routes": {
          }
        }
      }
      

      Parse error on line 5:
      ... { }}}
      -------------------^
      Expecting 'EOF'

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: