We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d1b5e0 commit dd555b7Copy full SHA for dd555b7
src/main/java/com/rabbitmq/client/ConnectionFactory.java
@@ -230,8 +230,8 @@ public void setUri(URI uri)
230
// nothing special to do
231
} else if ("amqps".equals(uri.getScheme().toLowerCase())) {
232
setPort(DEFAULT_AMQP_OVER_SSL_PORT);
233
- // SSL context not set yet, we use the default one
234
- if (this.sslContext == null) {
+ // SSL context factory not set yet, we use the default one
+ if (this.sslContextFactory == null) {
235
useSslProtocol();
236
}
237
} else {
0 commit comments