You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
How to use noack false parameter, forcing use of ack=true only after message processing?
My consumption is simple, I'm doing it like this:
@RabbitSubscribe({
exchange: 'exchange',
routingKey: 'create_payment_key',
queue: 'payment_queue',
})
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
How to use noack false parameter, forcing use of ack=true only after message processing?
My consumption is simple, I'm doing it like this:
@RabbitSubscribe({
exchange: 'exchange',
routingKey: 'create_payment_key',
queue: 'payment_queue',
})
public async consumer(msg: {}) {
const content = JSON.stringify(msg);
console.log(content);
}
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions