AlariCode / nestjs-rmq

A custom library for NestJS microservice. It allows you to use RabbitMQ or AMQP.
https://purpleschool.ru
MIT License
285 stars 38 forks source link

Manual processing problem #7

Closed aooppo closed 4 years ago

aooppo commented 4 years ago

Hi, Thank you for coding such awesome library. Is it possible for us to manually process the results?

this.rmqService.notify < string > ('info.none', 'My data!!');

The above code is going to drive the message into unacked, and when my service restarts, it's going to be accepted again. Can we get it off the queue?

AlariCode commented 4 years ago

@aooppo, thanks for issue. This is definitely a bug! I'll update package today after testing.

AlariCode commented 4 years ago

@aooppo, fixed bugs in new version: nestjs-rmq@1.4.6