106
107
# own simple queue that no one ever automatically reads from. This is
107
108
# why we ack this message, even though we're really failing it.
108
109
message.payload['deadletter_reason'] = reason
111
111
queue = self.connection.SimpleQueue('adt.deadletters.{}'.format(API_VERSION))
112
112
queue.put(message.payload)