Comillas
This commit is contained in:
@@ -51,9 +51,14 @@ export class RabbitMQEventBus implements EventBus {
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO:
|
||||
* - Esta implementacion del nack debe estar en objenious
|
||||
*/
|
||||
* Re-implementacion del nack con chequeo del numero de reinetentos.
|
||||
* TODO:
|
||||
* - Decidir si se chequean o no los reintentos con errores 429
|
||||
* - Motivo del último error en el mensaje
|
||||
*
|
||||
* @param msg
|
||||
* @param requeue
|
||||
*/
|
||||
async nack(msg: ConsumeMessage, requeue?: boolean) {
|
||||
if (this.channel == undefined) throw new Error("[RMQ] Canal no iniciallizado");
|
||||
|
||||
@@ -82,9 +87,7 @@ export class RabbitMQEventBus implements EventBus {
|
||||
})
|
||||
}
|
||||
|
||||
// Hace falta?
|
||||
this.channel.ack(msg)
|
||||
//return this.channel.nack(msg, false, requeue)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user