Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11596

camel-spring-boot - actuator endpoint routes - Get single route only

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-spring-boot
    • None
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lb Luca Burgazzoli
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment