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

camel-spring-boot: Failed route should be visible in spring-boot actuator/camelroutes endpoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.8.0
    • camel-spring-boot
    • None
    • Unknown

    Description

      When a route fails, the route should be visible in the actuator/camelroutes endpoint and marked with the current status. Currently it is not visible.

      For example the following routes:

              from("direct:foo")
                      .routeId("foo")
                      .to("mock:end");
      
              from("direct:bar")
                      .routeId("bar")
                      .to("cxf:bean:myCxfEndpointBean?wsdlURL=http://localhost:7777/service?wsdl");
      

      The "bar" route fails to start, but is not registered in the camelroutes endpoint. Only the "foo" route is listed:

      $ curl localhost:8080/actuator/camelroutes | jq
      
      [
        {
          "id": "foo",
          "uptime": "11s",
          "uptimeMillis": 11570,
          "properties": {
            "template": "false",
            "parent": "6614289a",
            "rest": "false",
            "supervised": true,
            "description": null,
            "id": "foo",
            "customId": "true"
          },
          "status": "Started"
        }
      ]
      

      Attachments

        Issue Links

          Activity

            People

              ldemasi Luigi De Masi
              ldemasi Luigi De Masi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: