This is an automated email from the ASF dual-hosted git repository.
havret pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-nms-openwire.git
The following commit(s) were added to refs/heads/main by this push:
new f62f7ed AMQNET-837 Add buffersizes support for ssl scheme (#31)
f62f7ed is described below
commit f62f7edfda28f0bc5f196ff26d270bcad16ef173
Author: vivanku <[email protected]>
AuthorDate: Wed Jan 10 02:59:11 2024 +0530
AMQNET-837 Add buffersizes support for ssl scheme (#31)
configuring transport.sendBufferSize and transport.receiveBufferSize
through client url only works for tcp scheme .
SslTransportFactory inherits from TcpTransportFactory however it doesnt set
the sendBufferSize and receiveBufferSize properties.
---
src/Transport/Tcp/SslTransportFactory.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Transport/Tcp/SslTransportFactory.cs
b/src/Transport/Tcp/SslTransportFactory.cs
index 91a86c2..156812f 100644
--- a/src/Transport/Tcp/SslTransportFactory.cs
+++ b/src/Transport/Tcp/SslTransportFactory.cs
@@ -131,7 +131,8 @@ namespace Apache.NMS.ActiveMQ.Transport.Tcp
transport.KeyStoreName = this.keyStoreName;
transport.AcceptInvalidBrokerCert = this.acceptInvalidBrokerCert;
transport.sslProtocol = this.sslProtocol; // bypass revalidation
-
+ transport.SendBufferSize = this.SendBufferSize;
+ transport.ReceiveBufferSize = this.ReceiveBufferSize;
return transport;
}
}