You can cover your scenario using one user for each queue. Each queue can process the message sequentially.
Another way is to use only one queue and use envelope.getExchange()to understand the source, or tagyour messages, usingAMQP.BasicProperties properties
Thus, for example, you can consume messages in multithreading and assign one thread for each tag
source
share