public RabbitMQQueueView(RabbitMQ rabbitMQ, KeyValuePair <string, Type> cmd)
        {
            InitializeComponent();

            RabbitMQ = rabbitMQ;

            RabbitMQ.CreateNewChannel(ChannelName);

            QueueName = cmd.Key;
            ClassType = cmd.Value;

            LblQueueName.Content = QueueName;

            ThreadPool.QueueUserWorkItem(UpdateThread);
        }