camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " Ramu kakarla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11596) camel-spring-boot - actuator endpoint routes - Get single route only
Date Wed, 26 Jul 2017 13:02:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101639#comment-16101639
] 

 Ramu kakarla commented on CAMEL-11596:
---------------------------------------

[kkakarla@kkakarla endpoint]$ curl -XGET -s http://localhost:8080/camel/routes/foo
{"id":"foo","uptime":"1 minute","uptimeMillis":62708,"status":"Started","details":{"deltaProcessingTime":-1,"exchangesInflight":0,"exchangesTotal":13,"externalRedeliveries":0,"failuresHandled":0,"firstExchangeCompletedExchangeId":"ID-kkakarla-pnq-csb-1501074001787-0-1","firstExchangeCompletedTimestamp":1501074004459,"lastExchangeCompletedExchangeId":"ID-kkakarla-pnq-csb-1501074001787-0-26","lastExchangeCompletedTimestamp":1501074064450,"lastProcessingTime":0,"maxProcessingTime":5,"meanProcessingTime":0,"minProcessingTime":0,"redeliveries":0,"totalProcessingTime":8,"hasRouteController":true}}[kkakarla@kkakarla
endpoint]$ 


> 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)

Mime
View raw message