node-amqp-connection-manager icon indicating copy to clipboard operation
node-amqp-connection-manager copied to clipboard

feat(channel-msg-reject): send reject function to underlying channel

Open thuydx55 opened this issue 3 years ago • 2 comments

thuydx55 avatar Dec 15 '21 05:12 thuydx55

@jwalton please take a look into this. Thanks

thuydx55 avatar Dec 15 '21 06:12 thuydx55

Can you use #nack(message, false, requeue) instead? reject is a function in amqplib to maintain backwards compatibility with very old versions of RabbitMq (< v2.3.0).

I think it makes more sense for this lib to only have one method to nack messages.

https://amqp-node.github.io/amqplib/channel_api.html#channel_reject

luddd3 avatar Dec 28 '21 12:12 luddd3