RabbitMQ by Example: Multiple Threads, Channels and Queues
I just read RabbitMQ's Java API docs , and found it very informative and straight-forward. The example for how to set up a simple Channel for publishing/consuming is very easy to follow and understand. But it's a very simple/basic example, and it left me with an important question: How can I set up 1+ Channels to publish/consume to and from multiple queues? Let's say I have a RabbitMQ server with 3 queues on it: logging , security_events and customer_orders . So we'd either need a single Channel to have the ability to publish/consume to all 3 queues, or more likely, have 3 separate Channels ,