[ https://issues.apache.org/jira/browse/CAMEL-10640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15769947#comment-15769947 ]
Thomas Günter commented on CAMEL-10640: --------------------------------------- Correct pull request added manually due to invalid original pull request. > 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 > 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)