lib/postman/message.rb
# Reject the message without re-queuing
# Will end up getting dead-lettered
Reject the message without re-queuing
Will end up getting dead-lettered
Reject the message without re - queuing Will end up getting dead - lettered
def deadletter(exception)
      error "Deadletter: #{payload}"
      error exception.message
      main_exchange.nack(delivery_tag)
    end
def deadletter ( exception ) error "Deadletter: #{payload}" error exception . message main_exchange . nack ( delivery_tag ) end
Reject the message without re-queuing
Will end up getting dead-lettered
Reject the message without re - queuing Will end up getting dead - lettered
exception
<not_specific>