Example #1
0
 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;
 }
Example #2
0
 internal TransportContext(NMS.AMQP.ConnectionFactory connectionFactory)
 {
     factory           = connectionFactory;
     connectionBuilder = factory.Factory as Amqp.ConnectionFactory;
     connectionBuilder.SASL.Profile = Amqp.Sasl.SaslProfile.Anonymous;
 }