Stephan Wagner created AMQ-9102:
-----------------------------------
Summary: HTTP Proxy Exclusions are not applied to ActiveMQ
Connections
Key: AMQ-9102
URL: https://issues.apache.org/jira/browse/AMQ-9102
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.16.3
Reporter: Stephan Wagner
In [this
commit|https://github.com/apache/activemq/commit/1ced34a383c5e3910c582fd3bfd720a8f6fcde32]
basic HTTP-Proxy support using the default properties was added to ActiveMQ,
however the implementation does not account for the [exclusion list in property
"http.nonProxyHosts"|https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html],
which leads to issues in environments that use a system proxy, but exclude
certain targets from proxy usage.
Given the implementation in {{HttpTransportSupport}} (in particular
{{{}getProxyHost(){}}}) and {{HttpClientTransport}} (in particular creation of
the HTTP Client) there is no way to use ActiveMQ in a mixed non-proxy/proxy
environment.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)