Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.18.1
-
Component/s: camel-ahc-ws
-
Labels:None
-
Patch Info:Patch Available
-
Estimated Complexity:Novice
Description
Provided custom AsyncHttpClientConfig is not used by WsEndpoint.java.
Current implementation:
WsEndpoint.java:109
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; }
Expected implementation:
WsEndpoint.java:109
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; }