Skip to content

Commit 084d6c7

Browse files
committed
Finalize the Ssl implementation by hooking up with ConnectionFactory
Call the overloaded AmqpTcpEndpoint construtor that allows us to pass in an SslOption object, so we can pass in the configured SslOption from the ConnectionParameter object (m_parameters) to complete the end-to-end implementation
1 parent 215481e commit 084d6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/api/ConnectionFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public IConnection CreateConnection(IProtocol version,
260260
int portNumber)
261261
{
262262
return CreateConnection(new AmqpTcpEndpoint[] {
263-
new AmqpTcpEndpoint(version, hostName, portNumber)
263+
new AmqpTcpEndpoint(version, hostName, portNumber, m_parameters.Ssl)
264264
});
265265
}
266266

0 commit comments

Comments
 (0)