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

Andrea Cosentino reassigned CAMEL-10640:
----------------------------------------

    Assignee: Andrea Cosentino

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

Reply via email to