You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/05/14 08:09:04 UTC

[jira] [Commented] (CAMEL-11276) camel-example-restlet-jdbc example URI uses ( ) rather than { } for path parameters

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

Claus Ibsen commented on CAMEL-11276:
-------------------------------------

Its the camel-restlet component that needs to be changed as it updates its url to use ()

> camel-example-restlet-jdbc example URI uses ( ) rather than { } for path parameters
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-11276
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11276
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Gary Brown
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)