Apache.NMS.ActiveMQ.ConnectionFactory.ConfigureConnection C# (CSharp) 메소드

ConfigureConnection() 보호된 메소드

protected ConfigureConnection ( Connection connection ) : void
connection Connection
리턴 void
        protected virtual void ConfigureConnection(Connection connection)
        {
            connection.AsyncClose = this.AsyncClose;
            connection.AsyncSend = this.AsyncSend;
            connection.CopyMessageOnSend = this.CopyMessageOnSend;
            connection.AlwaysSyncSend = this.AlwaysSyncSend;
            connection.DispatchAsync = this.DispatchAsync;
            connection.SendAcksAsync = this.SendAcksAsync;
            connection.AcknowledgementMode = this.acknowledgementMode;
            connection.UseCompression = this.useCompression;
            connection.RequestTimeout = this.requestTimeout;
            connection.ProducerWindowSize = this.producerWindowSize;
            connection.MessagePrioritySupported = this.messagePrioritySupported;
            connection.RedeliveryPolicy = this.redeliveryPolicy.Clone() as IRedeliveryPolicy;
            connection.PrefetchPolicy = this.prefetchPolicy.Clone() as PrefetchPolicy;
            connection.CompressionPolicy = this.compressionPolicy.Clone() as ICompressionPolicy;
            connection.ConsumerTransformer = this.consumerTransformer;
            connection.ProducerTransformer = this.producerTransformer;
        }