Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.20.0
-
Component/s: camel-spring-boot
-
Labels:None
-
Estimated Complexity:Novice
Description
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
curl -XGET -s http://localhost:8080/camel/routes/id/info
That returns many information about the route, but if you just want to big summary like
curl -XGET -s http://localhost:8080/camel/routes
But for a specific route like bar
curl -XGET -s http://localhost:8080/camel/routes/bar
Then that is not possible. It may be nice to then just return
{"id":"bar","uptime":"3.405 seconds","uptimeMillis":3405,"status":"Started"}
eg only that route.