stephennimmo opened a new pull request #40: URL: https://github.com/apache/qpid-jms/pull/40
URIs should be able to resolve to the same IP address, as the brokers may be running behind a proxy. For example, I have a container-based broker setup running in Kubernetes and I am exposing the brokers through the use of Kubernetes ingress (OpenShift Routes, to be exact). The brokers have different route URIs but they always will resolve back to the HAProxy running as a load balancer in front of the Kubernetes cluster. Example: failover:(amqps://ex-aao-amqp-2-svc-rte-amq-broker.apps.ocp.domain.com:443,amqps://ex-aao-amqp-0-svc-rte-amq-broker.apps.ocp.domain.com:443) Both ex-aao-amqp-0-svc-rte-amq-broker.apps.ocp.domain.com and ex-aao-amqp-2-svc-rte-amq-broker.apps.ocp.domain.com will both resolve to the exact same IP address because those addresses resolve to the HAProxy running in front of OpenShift. The new logic ignores the ultimately resolved IP addresses as the comparison method and instead simply compares the equality of the strings. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org