[jira] [Resolved] (CAMEL-8838) Setting HttpConnectionManager Override Property in URI using HttpClientParams is not working
[ https://issues.apache.org/jira/browse/CAMEL-8838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-8838. Resolution: Won't Fix Assignee: Claus Ibsen Yeah you cannot set all options in the uri > Setting HttpConnectionManager Override Property in URI using HttpClientParams > is not working > > > Key: CAMEL-8838 > URL: https://issues.apache.org/jira/browse/CAMEL-8838 > Project: Camel > Issue Type: Bug > Components: camel-http >Affects Versions: 2.13.4, 2.15.0, 2.15.2 >Reporter: Deepak >Assignee: Claus Ibsen > Labels: camel, http > > Hi, > When we pass HttpClientParams in EndPoint URI, to override > HttpConnectionManager class, the HttpComponent is not considering the > overridden parameter, > Example URL > https://myapplication.com/myappservice/?bridgeEndpoint=true=false=org.apache.commons.httpclient.SimpleHttpConnectionManager > > In org.apache.camel.component.http.HttpComponent, if there is no bean > injection of httpConnectionManager class, by default a new instance of > MultiThreadedHttpConnectionManager class is created. > In HttpComponent class, while constructing the HttpEndPoint, the same above > HttpConnection Manager class is sent as reference. > In HttpEndPoint class, createHttpClient method, although all the Http client > params are considered, HttpConnectionManager class sent by the HttpClient > Params is not considered. > Please clarify or fix it. > HttpClient answer = new HttpClient(getClientParams()); // Line Number 110 > answer.setHttpConnectionManager(httpConnectionManager); // Line Number 144 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CAMEL-8838) Setting HttpConnectionManager Override Property in URI using HttpClientParams is not working
[ https://issues.apache.org/jira/browse/CAMEL-8838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang resolved CAMEL-8838. - Resolution: Won't Fix Setting HttpConnectionManager Override Property in URI using HttpClientParams is not working Key: CAMEL-8838 URL: https://issues.apache.org/jira/browse/CAMEL-8838 Project: Camel Issue Type: Bug Components: camel-http Affects Versions: 2.13.2 Reporter: Deepak Assignee: Willem Jiang Labels: camel, http Hi, When we pass HttpClientParams in EndPoint URI, to override HttpConnectionManager class, the HttpComponent is not considering the overridden parameter, Example URL https://myapplication.com/myappservice/?bridgeEndpoint=truethrowExceptionOnFailure=falsehttpClient.connectionManagerClass=org.apache.commons.httpclient.SimpleHttpConnectionManager In org.apache.camel.component.http.HttpComponent, if there is no bean injection of httpConnectionManager class, by default a new instance of MultiThreadedHttpConnectionManager class is created. In HttpComponent class, while constructing the HttpEndPoint, the same above HttpConnection Manager class is sent as reference. In HttpEndPoint class, createHttpClient method, although all the Http client params are considered, HttpConnectionManager class sent by the HttpClient Params is not considered. Please clarify or fix it. HttpClient answer = new HttpClient(getClientParams()); // Line Number 110 answer.setHttpConnectionManager(httpConnectionManager); // Line Number 144 -- This message was sent by Atlassian JIRA (v6.3.4#6332)