internal SecureTransportContext(NMS.AMQP.ConnectionFactory factory) : base(factory) { this.connectionBuilder.SSL.LocalCertificateSelectionCallback = this.ContextLocalCertificateSelect; this.connectionBuilder.SSL.RemoteCertificateValidationCallback = this.ContextServerCertificateValidation; connectionBuilder.SASL.Profile = Amqp.Sasl.SaslProfile.Anonymous; }
internal TransportContext(NMS.AMQP.ConnectionFactory connectionFactory) { factory = connectionFactory; connectionBuilder = factory.Factory as Amqp.ConnectionFactory; connectionBuilder.SASL.Profile = Amqp.Sasl.SaslProfile.Anonymous; }