Skip to content

Commit

Permalink
Merge branch '6.1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
jendakol committed Nov 12, 2018
2 parents f9de151 + e32b728 commit 0f5cabd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import com.avast.metrics.scalaapi.Monitor
import com.rabbitmq.client._
import com.typesafe.config.{Config, ConfigFactory}
import com.typesafe.scalalogging.StrictLogging
import javax.net.ssl.SSLContext
import monix.execution.Scheduler
import net.ceedubs.ficus.Ficus._
import net.ceedubs.ficus.readers.ArbitraryTypeReader._
Expand Down Expand Up @@ -232,7 +233,7 @@ object RabbitMQConnection extends StrictLogging {

factory.useSslProtocol(sslContext)
} else {
factory.useSslProtocol()
factory.useSslProtocol(SSLContext.getDefault)
}
}

Expand Down

0 comments on commit 0f5cabd

Please sign in to comment.