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

Claus Ibsen commented on CAMEL-14361:
-------------------------------------

Yes and also a bit faster

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

Reply via email to