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

[jira] [Created] (CAMEL-14361) camel-http - Avoid reflection in creating http method

Claus Ibsen created CAMEL-14361:
-----------------------------------

             Summary: camel-http - Avoid reflection in creating http method
                 Key: CAMEL-14361
                 URL: https://issues.apache.org/jira/browse/CAMEL-14361
             Project: Camel
          Issue Type: Improvement
          Components: camel-http
            Reporter: Claus Ibsen
             Fix For: 3.1.0


In this code
https://github.com/apache/camel/blob/master/components/camel-http/src/main/java/org/apache/camel/component/http/HttpMethods.java#L52

We can instead just use a switch on the verb name and create the class via regular java code



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