官术网_书友最值得收藏!

Messaging concepts

The following is a list of concepts that relate to messaging:

  • Producer: Application that sends the messages.
  • Consumer: Application that receives the messages.
  • Queue: Buffer that stores messages.
  • Message: Information that is sent from the producer to a consumer through RabbitMQ.
  • Connection: A connection is a TCP connection between your application and the RabbitMQ broker.
  • Channel: A channel is a virtual connection inside a connection. When you are publishing or consuming messages from a queue - it's all done over a channel.
  • Exchange: Receives messages from producers and pushes them to queues depending on rules defined by the exchange type. In order to receive messages, a queue needs to be bound to at least one exchange.
  • Binding: A binding is a link between a queue and an exchange.
  • Routing key: The routing key is a key that the exchange looks at to decide how to route the message to queues. The routing key is like an address for the message.
  •  Advanced Message Queuing Protocol (AMQP): AMQP is the protocol used by RabbitMQ for messaging.
  • Users: It is possible to connect to RabbitMQ with a given username and password. Every user can be assigned permissions such as rights to read, write, and configure privileges within the instance. Users can also be assigned permissions to specific virtual hosts.
  • Vhost: A virtual host provides a way to segregate applications using the same RabbitMQ instance. Different users can have different access privileges to different vhosts and queues, and exchanges can be created so they only exist in one vhost.
主站蜘蛛池模板: 嘉定区| 连山| 黄陵县| 准格尔旗| 凤城市| 伊金霍洛旗| 遵义县| 桂林市| 乌拉特前旗| 呼和浩特市| 家居| 凤庆县| 安陆市| 通辽市| 海原县| 渑池县| 武威市| 伽师县| 平邑县| 潼关县| 翁牛特旗| 罗田县| 景泰县| 随州市| 图木舒克市| 怀集县| 毕节市| 遵义县| 江孜县| 昌都县| 神木县| 古交市| 自贡市| 三穗县| 泸水县| 青川县| 砀山县| 饶平县| 泰和县| 高清| 定结县|