camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-10640) Custom AsyncHttpClientConfig not used in WsEndpoint
Date Thu, 22 Dec 2016 13:02:58 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrea Cosentino resolved CAMEL-10640.
--------------------------------------
    Resolution: Fixed

> Custom AsyncHttpClientConfig not used in WsEndpoint
> ---------------------------------------------------
>
>                 Key: CAMEL-10640
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10640
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ahc-ws
>    Affects Versions: 2.18.1
>            Reporter: Thomas G√ľnter
>            Assignee: Andrea Cosentino
>             Fix For: 2.18.2, 2.19.0
>
>
> Provided custom AsyncHttpClientConfig is not used by WsEndpoint.java.
> Current implementation: 
> {code:title=WsEndpoint.java:109|borderStyle=solid}
>     protected AsyncHttpClient createClient(AsyncHttpClientConfig config) {
>         AsyncHttpClient client;
>         if (config == null) {
>             config = new DefaultAsyncHttpClientConfig.Builder().build();
>             client = new DefaultAsyncHttpClient(config);
>         } else {
>             client = new DefaultAsyncHttpClient();
>         }
>         return client;
>     }
> {code}
> Expected implementation:
> {code:title=WsEndpoint.java:109|borderStyle=solid}
>     protected AsyncHttpClient createClient(AsyncHttpClientConfig config) {
>         AsyncHttpClient client;
>         if (config == null) {
>             config = new DefaultAsyncHttpClientConfig.Builder().build();
>             client = new DefaultAsyncHttpClient(config);
>         } else {
>             client = new DefaultAsyncHttpClient(config);
>         }
>         return client;
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message