click below
click below
Normal Size Small Size show me how
6) Rabbit MQ
Rabbit MQ
Question | Answer |
---|---|
AMQS | Advanced Messaging Queue |
Exchange types | 1) Fanout 2) Direct 3) Default 4) Topic |
Fanout | “Dumb” forwarding messages into the bound queues. Makes copies of the message |
Default | Takes the queue name and make it into the binding key on the default exchange. Therefore it looks as if you can connect directly with the queue. This exchange type is used in the producer/consumer and work queue example. |
Direct | Distributes messages based on binding key. If queue has the same key K as message.routing_key R (K=R), the message is sent to that queue. |