How can I subscribe to a queue without using a decorator? #1411
Unanswered
YanNezamutdinov
asked this question in
Q&A
Replies: 1 comment 13 replies
-
Sure, you can use router with explicit routes if you want: https://faststream.airt.ai/latest/getting-started/routers/#delay-handler-registration |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The microservice accepts a list of queue names. I create instances of the class, where I pass the name of the queue that I want to listen to.
I don't know exactly how to properly organize a connection to rabbitmq, inside a class, or transfer connect to an instance of the class, and I don't quite understand how to subscribe to a queue without a decorator?
Each microservice must subscribe to 10-100 queues.
Beta Was this translation helpful? Give feedback.
All reactions