예제 #1
0
        public void RabbitConsume(RabbitConsumerOption option)
        {
            if (OnConsumeHandler != null)
            {
                _consumer = new RabbitConsumer();

                _consumer.Factory = base.ConnectionFactory;

                _consumer.OnConsumeHandler += OnConsumeHandler;

                _consumer.Consume(option);
            }
        }