[
https://issues.apache.org/jira/browse/CAMEL-14361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-14361.
---------------------------------
Fix Version/s: 3.0.1
Resolution: Fixed
> 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
> Assignee: Zheng Feng
> Priority: Minor
> Fix For: 3.0.1, 3.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)