@RabbitListener with multiple queues and its concurrency #2555
Answered
by
artembilan
ddinde-mdsol
asked this question in
Q&A
-
Hello AMQP community If I have multiple queues listening on the same @rabbitlistener with concurrency defined as 3-5. Will each queue have an individual set of 3-5 threads or all queues will have a total of 3-5 threads? e.g. @RabbitListener(queues= {"Q1", "Q2", "Q3"}, concurrency="3-5") |
Beta Was this translation helpful? Give feedback.
Answered by
artembilan
Nov 13, 2023
Replies: 1 comment 1 reply
-
Each queue is going to have that number of consumers:
See more in docs: https://docs.spring.io/spring-amqp/reference/html/#listener-concurrency |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ddinde-mdsol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Each queue is going to have that number of consumers: