def __init__(self, queue, requeue_on_error=False):
        self.queue = queue
        self.requeue_on_error = requeue_on_error
Decorates a method as a message consumer.
dataset/ETHPy150Open onefinestay/nameko/nameko/messaging.py/Consumer.__init__