Message Queue Mode rabbitmq

1. Simple mode: single consumer

  Providers to send messages to the queue, the consumer remove message from the queue, the message number minus one.

2. Operating mode: multiple consumers

  Message consumer can handle a small state, if a lot of messages in the queue, a consumer to handle, however, requires a plurality of consumers.

3. Publish subscription model 

  Each consumer to get the message is the same.

4. Route mode

  Description : routing mode is released to upgrade the subscription mode , by defining different routes key that sends a message to a different queue .

5. Themes

  Routing by key sends a message to the same class key are implemented using wildcards

We can look out, the message queue in order from top to bottom step by step model is extensible, so it must be simple to learn hard, in-depth understanding of the basic concepts, it will be very easy to learn.

Guess you like

Origin www.cnblogs.com/l-x-x-y-d-j/p/11356100.html