Luigi De Masi created CAMEL-20993:
-------------------------------------

             Summary: camel-spring-boot: Failed route should be visible in 
spring-boot actuator/camelroutes endpoint
                 Key: CAMEL-20993
                 URL: https://issues.apache.org/jira/browse/CAMEL-20993
             Project: Camel
          Issue Type: Bug
          Components: camel-spring-boot
    Affects Versions: 4.7.0
            Reporter: Luigi De Masi
            Assignee: Luigi De Masi


  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:

{code}
        from("direct:foo")
                .routeId("foo")
                .to("mock:end");

        from("direct:bar")
                .routeId("bar")
                
.to("cxf:bean:myCxfEndpointBean?wsdlURL=http://localhost:7777/service?wsdl";);
{code}

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

{code}
$ 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"
  }
]
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to