[ 
https://issues.apache.org/jira/browse/CAMEL-15576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-15576.
---------------------------------
      Assignee: Claus Ibsen
    Resolution: Fixed

> Incorrect HTTP Method retrieved by camel-tracing
> ------------------------------------------------
>
>                 Key: CAMEL-15576
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15576
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.5.0
>            Reporter: ncasaux
>            Assignee: Claus Ibsen
>            Priority: Minor
>              Labels: help-wanted, tracing
>             Fix For: 3.6.0
>
>
> Hello,
> The HTTP method is not correctly retrieved by component camel-tracing when, 
> from the Camel route, the HTTP method is set using something else than a 
> String (like HttpMethods.POST for example)
> Info from Claus:
> {quote}Ah I can see the little bug
> [https://github.com/apache/camel/blob/master/components/camel-tracing/src/main/java/org/apache/camel/tracing/decorators/AbstractHttpSpanDecorator.java#L33]
> This one checks only if its a string type, but you use a constant or enum etc.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to