Closed matthewmueller closed 6 years ago
@matthewmueller @haircuttedfreak any chance we can get this PR rolling, we're dealing w/ issue where nack
seems to be requeue-ing messages
@hunterloftis I just tested the changes locally and they seem to be working, I think travis config is broken but all the tests are still passing
Why would you need requeue option for nack?
I think it would make sense to ack and do nothing with it in that case ...
Is there any plan to merge this? As @hamin says, nack()
currently just requeues
@Akamaozu: you can use nack({requeue: false})
to route unprocessable messages to a dead-letter exchange: https://www.rabbitmq.com/dlx.html
@colophonemes we ended up forking and releasing the feat under @pagerinc/jackrabbit
: https://github.com/pagerinc/jackrabbit
This PR adds additional options to
nack()
, most notably{ requeue: false }