You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ncasaux (Jira)" <ji...@apache.org> on 2020/09/24 15:30:00 UTC
[jira] [Updated] (CAMEL-15576) Incorrect HTTP Method retrieved by
camel-tracing
[ https://issues.apache.org/jira/browse/CAMEL-15576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ncasaux updated CAMEL-15576:
----------------------------
Summary: Incorrect HTTP Method retrieved by camel-tracing (was: Incorrect HTTP Method)
> 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)