You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Avinash Dongre (Jira)" <ji...@apache.org> on 2020/09/24 16:06:00 UTC

[jira] [Commented] (CAMEL-15576) Incorrect HTTP Method retrieved by camel-tracing

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

Avinash Dongre commented on CAMEL-15576:
----------------------------------------

Hi [~ncasaux], Please let me know if you are going to work on this otherwise I'll try and have a look

> 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
>            Priority: Minor
>              Labels: tracing
>
> 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)