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

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

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

Zheng Feng commented on CAMEL-14361:
------------------------------------

Is this helpful to use in the quarkus native mode ?

> 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)