You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/07/25 19:13:03 UTC

[jira] [Created] (CAMEL-11596) camel-spring-boot - actuator endpoint routes - Get single route only

Claus Ibsen created CAMEL-11596:
-----------------------------------

             Summary: camel-spring-boot - actuator endpoint routes - Get single route only
                 Key: CAMEL-11596
                 URL: https://issues.apache.org/jira/browse/CAMEL-11596
             Project: Camel
          Issue Type: Improvement
          Components: camel-spring-boot
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.20.0


See the readme of this example
https://github.com/apache/camel/tree/master/examples/camel-example-spring-boot-routecontroller

To get info about a route you need to
{code}
curl -XGET -s http://localhost:8080/camel/routes/id/info
{code}

That returns many information about the route, but if you just want to big summary like

{code}
curl -XGET -s http://localhost:8080/camel/routes
{code}

But for a specific route like bar
{code}
curl -XGET -s http://localhost:8080/camel/routes/bar
{code}

Then that is not possible. It may be nice to then just return
{code}
{"id":"bar","uptime":"3.405 seconds","uptimeMillis":3405,"status":"Started"}
{code}
eg only that route.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)