RabbitMQ
-
- What is? Messaging middleware
- The role? Decoupling module for distributed project
- usage?
- Create a queue
- Create a message and set the factory (producer additional step: creating a message)
- Create a connection channel
- Statement queue
- Manufacturer: send a message to close the channel, and then close the connection; Consumer: listen queue
- Switch type? Fanout, routing complementary header, topics
Experience
- In rabbitmq source, and I only see four types of switches, and did not see the so-called Six operating modes, I do not know who defined forget to six working modes it.
- When routing key in the production or consumption of the end-side binding once is enough. Binding only the production side, the first production line after the end of the consumer can receive the message.
- RabbitMQ can integrate with springboot