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:29:00 UTC
[jira] [Created] (CAMEL-15576) Incorrect HTTP Method
ncasaux created CAMEL-15576:
-------------------------------
Summary: Incorrect HTTP Method
Key: CAMEL-15576
URL: https://issues.apache.org/jira/browse/CAMEL-15576
Project: Camel
Issue Type: Bug
Affects Versions: 3.5.0
Reporter: ncasaux
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)