We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c239177 commit 1ccadd2Copy full SHA for 1ccadd2
src/main/java/com/rabbitmq/client/ConnectionFactory.java
@@ -227,7 +227,7 @@ public void setUri(URI uri)
227
} else if ("amqps".equals(uri.getScheme().toLowerCase())) {
228
setPort(DEFAULT_AMQP_OVER_SSL_PORT);
229
// SSL context not set yet, we use the default one
230
- if (this.sslContext != null) {
+ if (this.sslContext == null) {
231
useSslProtocol();
232
}
233
} else {
0 commit comments