Beispiel #1
0
        /// <summary>
        /// Constructor to create a connection factory.
        /// </summary>
        protected ConnectionFactoryBase()
        {
            this.tcpSettings = new TcpSettings()
            {
                NoDelay = true
            };

            this.amqpSettings = new AmqpSettings()
            {
                MaxFrameSize             = (int)Connection.DefaultMaxFrameSize,
                ContainerId              = Connection.MakeAmqpContainerId(),
                IdleTimeout              = int.MaxValue,
                MaxSessionsPerConnection = Connection.DefaultMaxSessions,
                MaxLinksPerSession       = Connection.DefaultMaxLinksPerSession
            };
        }