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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-restlet
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: