/// <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              = "AMQPLite-" + Guid.NewGuid().ToString("N"),
                IdleTimeout              = int.MaxValue,
                MaxSessionsPerConnection = 8
            };
        }
        /// <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              = Process.GetCurrentProcess().ProcessName,
                IdleTimeout              = int.MaxValue,
                MaxSessionsPerConnection = 8
            };
        }
        /// <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 = Process.GetCurrentProcess().ProcessName,
                IdleTimeout = int.MaxValue,
                MaxSessionsPerConnection = 8
            };
        }
        /// <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 = "AMQPLite-" + Guid.NewGuid().ToString("N"),
                IdleTimeout = int.MaxValue,
                MaxSessionsPerConnection = 8
            };
        }
Exemple #5
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
            };
        }