Uploaded image for project: 'Red Hat build of Apache Camel for Spring Boot'
  1. Red Hat build of Apache Camel for Spring Boot
  2. CSB-4533

failed route should be visible in spring-boot actuator/camelroutes

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • CSB-4.4.1
    • CSB-4.0
    • Camel, Spring Boot
    • None
    • Very Likely
    • 0

      Requirement:

      1. When a route fails, the remaining routes continue to function. The Camel routecontroller feature resolves this.

      2. 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, in the attached project, the following routes are defined:

              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"
        }
      ]
      

        There are no Sub-Tasks for this issue.

            ldemasi Luigi De Masi
            rhn-support-shiggs Stephen Higgs
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: