On 28 April 2015 at 22:52:20, Ali Uz (
ali...@gmail.com) wrote:
> Now that I wrote it out and look at it, I think I may be overcomplicating
> things, the general design I was going for was API -> Queue1 ->
> Node 1 -> Queue2 -> Node2. Can I accomplish this with a single queue?
> Do I even need an exchange at all? I would really appreciate some
> guidance.
Ali,
The "node" above is a single application, not a RabbitMQ node, correct?
If so, you can use the default exchange to publish "directly" to a queue. It sounds like you want 2 queues.
There is no way to selectively consume message with RabbitMQ: distribution happens at the routing stage between queues.
Tutorials 1 and 2 are a good starting point:
http://www.rabbitmq.com/getstarted.html
and in case protocol concepts or terminology are not clear, there is
http://www.rabbitmq.com/tutorials/amqp-concepts.html
--
MK
Staff Software Engineer, Pivotal/RabbitMQ