This blog is the learning note of RabbitMQ, would like to share here and learn with all of we. Basic Concepts Channel Channel is used by rabbit client to communicate with server. The channel is backed by TCP, which can increase the reliability without extra effort. Besides that, this abstraction layer, channel layer, over TCP connection, can be used to reuse same connection and provide privacy at the same time. Queue Config A message queue has following common settings: name: used by client to refer server queue exclusive: limit only one consumer for this queue auto-delete: last consumer remove subscription, the queue is deleted Queue Creation Queue is located in the server of rabbit, what we have is just a stub. If we just restart our clients, queue will not be affected. consumer creation: we can endure the miss of producer’s message producer & consumer: we can’t ignore this Queue Usage message is waiting here load balance Consume vs Get There exists ...
Learn programming, still on the way