camel-http4 component does not support proxy settings for HTTPS ---------------------------------------------------------------
Key: CAMEL-4176 URL: https://issues.apache.org/jira/browse/CAMEL-4176 Project: Camel Issue Type: Bug Components: camel-http Affects Versions: 2.8.0 Environment: Win 7 x64 JDK 1.6.0 25 Reporter: Don Doffe Camel-http4 does not support http proxy configuration for HTTPS (https4:// endpoints). Scenario 1: Camel -- HTTP --> Proxy -- HTTPS4 --> Destination http.proxyHost & http.proxyPort are specified and recognized: String _authUsername="WS_P2P_INTERNAL"; String _authPassword="WS_P2P_INTERNAL"; from("servlet:///proxy?matchOnUriPrefix=true") .removeHeader(Exchange.HTTP_URI) .removeHeader(Exchange.HTTP_PATH) .removeHeader(Exchange.HTTP_QUERY) .to("https4://aupdc-osb01d:9002/P2P_Creditors/P2P_CreditorWS?wsdl&authUsername="+_authUsername+"&authPassword="+_authPassword+"&x509HostnameVerifier=AllowAllVerifier&proxyAuthHost=aupdc00-revprx01t&proxyAuthPort=9001"); Getting exception: java.lang.IllegalStateException: Scheme 'http' not registered. at org.apache.http.conn.scheme.SchemeRegistry.getScheme(SchemeRegistry.java:71) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:127) Attaching the whole log - http_exception.log Scenario 2: Camel -- HTTPS --> Proxy -- HTTPS4 --> Destination Camel does not seem top recognize and accept https.proxyHost and https.proxyPort settings: getContext().getProperties().put("https.proxyHost", "aupdc00-revprx01d"); getContext().getProperties().put("https.proxyPort", "9001"); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira