Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RabbitMQ] create queues without consumer #659

Closed
fermentfan opened this issue Nov 4, 2023 · 1 comment
Closed

[RabbitMQ] create queues without consumer #659

fermentfan opened this issue Nov 4, 2023 · 1 comment

Comments

@fermentfan
Copy link
Contributor

Hi,
I am currently trying to send out messages with a delay by leveraging the TTL + DLQ pattern as described here:

#138 (comment)

At the moment I solely rely on queue creation by this dependency, which I really love! But to follow the pattern one must create a queue without any handler added to it where the messages just wait until their TTL hit. Sadly I think this is not possible? I'd have expected that one could define queues with options like DLQ next to the exchanges in the module definition. It would be so cool if that was possible :)

@WonderPanda
Copy link
Collaborator

It would honestly be pretty easy to get this functionality implemented but I'll be honest I haven't used RabbitMQ in so many years now that I have no motivation. I bet you it could be a really easy contribution for you though and you'll get your face here: https://github.com/golevelup/nestjs#contributors-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants