Example #1
0
        public MQChannel CreateChannel(string queue, string routeKey, string exchangeType)
        {
            MQConnection conn    = new MQConnection(this.UserName, this.Password, this.Host, this.Port, this.vHost, this.logger);
            MQChannel    channel = conn.CreateReceiveChannel(exchangeType, this.Exchange, queue, routeKey);

            return(channel);
        }