I have the following
Java process which is listening to MyMessageQueue queue of ActiveMQ.And I can see the message getting retrieved using this statement
inside
processBrokerQueues method.
I am wondering, if I want to listen to 20-30 different queues, Is it the correct way to add multiple @JmsListener(destination = "MyMessageQueue") with different queue names like MessageQueue1, MessageQueue2 ....... so on and so forth until MessageQueue30?