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

camel-restlet URI uses ( ) rather than { } for path parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-restlet
    • None
    • Unknown

    Description

      When testing the camel-example-restlet-jdbc example with OpenTracing, to extract the URI template, I noticed that the endpoint URI used curly braces, however the exchange.getFromEndpoint().getEndpointUri() return just the path but with round brackets for the path parameter:

      e.g. "/persons/(personId)" instead of "/persons/

      {personId}

      "

      This seems inconsistent.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              objectiser Gary Brown
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: