Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AD6C3200CD1 for ; Wed, 26 Jul 2017 15:02:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ABF54168CC3; Wed, 26 Jul 2017 13:02:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F1ED5168CC1 for ; Wed, 26 Jul 2017 15:02:04 +0200 (CEST) Received: (qmail 68770 invoked by uid 500); 26 Jul 2017 13:02:04 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 68758 invoked by uid 99); 26 Jul 2017 13:02:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2017 13:02:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7D12EC026E for ; Wed, 26 Jul 2017 13:02:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 6TFXjCz6skuA for ; Wed, 26 Jul 2017 13:02:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C6D155FD02 for ; Wed, 26 Jul 2017 13:02:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DD098E0DB8 for ; Wed, 26 Jul 2017 13:02:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4BCD623F2E for ; Wed, 26 Jul 2017 13:02:00 +0000 (UTC) Date: Wed, 26 Jul 2017 13:02:00 +0000 (UTC) From: " Ramu kakarla (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-11596) camel-spring-boot - actuator endpoint routes - Get single route only MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 26 Jul 2017 13:02:05 -0000 [ 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)