mirror of https://github.com/celery/kombu.git
Merge branch 'dgelvin/master'
Conflicts: kombu/messaging.py
This commit is contained in:
commit
36dd024386
|
@ -74,7 +74,7 @@ class Message(object):
|
||||||
if self.acknowledged:
|
if self.acknowledged:
|
||||||
raise self.MessageStateError(
|
raise self.MessageStateError(
|
||||||
"Message already acknowledged with state: %s" % self._state)
|
"Message already acknowledged with state: %s" % self._state)
|
||||||
self.channel.basic_reject(self.delivery_tag)
|
self.channel.basic_reject(self.delivery_tag, requeue=False)
|
||||||
self._state = "REJECTED"
|
self._state = "REJECTED"
|
||||||
|
|
||||||
def requeue(self):
|
def requeue(self):
|
||||||
|
|
Loading…
Reference in New Issue