Exemplo n.º 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              = "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
            };
        }
Exemplo n.º 4
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 = "AMQPLite-" + Guid.NewGuid().ToString("N"),
                IdleTimeout = int.MaxValue,
                MaxSessionsPerConnection = 8
            };
        }
Exemplo n.º 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
            };
        }