[
https://issues.apache.org/jira/browse/CAMEL-11278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011015#comment-16011015
]
Gary Brown commented on CAMEL-11278:
------------------------------------
Hi Claus
Not sure it is an issue, as the URI is decoded here:
https://github.com/apache/camel/blob/master/components/camel-opentracing/src/main/java/org/apache/camel/opentracing/decorators/RestSpanDecorator.java#L79
I tried the camel-example-spring-boot-rest-jpa example with the example
loggertracer from the camel-example-opentracing example and got:
{noformat}
SPAN FINISHED: traceId=34 spanId=35 parentId=0 operation=/booksorder/{id}
tags={component=camel-rest, span.kind=server,
camel.uri=rest://get:/books:order/%7Bid%7D?description=Details+of+an+order+by+id&routeId=order-api,
http.url=http://localhost:8080/camel-rest-jpa/books/order/1, id=1,
http.method=GET} logs=[]
{noformat}
The _operation_ is correctly derived as
{noformat}
/booksorder/{id}
{noformat}
and the "id" tag has value 1.
> camel-opentracing - Should deal with curly brackets may be encoded
> ------------------------------------------------------------------
>
> Key: CAMEL-11278
> URL: https://issues.apache.org/jira/browse/CAMEL-11278
> Project: Camel
> Issue Type: Improvement
> Components: camel-opentracing
> Affects Versions: 2.19.0
> Reporter: Claus Ibsen
> Assignee: Gary Brown
> Fix For: 2.19.1, 2.20.0
>
>
> Some components may report
> {code}
> {xxx}
> {code}
> as
> {code}
> %7Bxxx%7D
> {code}
> and therefore it should deal with that
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)