ACTIVEMQ Message delivery mechanism and an explanation of the ACK mechanism

Source: Internet
Author: User

"Http://www.ylzx8.cn/ruanjiangongcheng/software-architecture-design/11922.html"

ACITVEMQ: The message store and distribution component, which involves all aspects of client and broker-side data interaction, not only guarantees the storage security of the message, but also provides additional means to ensure that the message is distributed reliably.

"ACTIVEMQ Message delivery mechanism"
Producer clients are used to send messages, consumer clients consume messages, and their collaborating centers are ACTIVEMQ Broker,broker, which is also a tool for decoupling producer and consumer calls, eventually implementing asynchronous rpc/ The function of data exchange. With the continuous development of ACTIVEMQ, more and more features are supported, and the need for developers to use ACTIVEMQ in a variety of scenarios is also addressed. For example, producer supports asynchronous invocation, using the flow control mechanism to enable broker to consumer consumption rate, consumer can use Prefetchack to maximize the rate of message consumption, provide "re-send Policy" and so on to improve the security of messages.

The picture simply describes the life cycle of a message, but in different architectural environments, the flow line of message may be more complex. will be explained later in the schema about broker: Once a message is issued from the producer side, once it is properly saved by the broker, it will be consumed by the consumer and then deleted by the Ack,broker side, but it will also be terminated when the message expires or when the storage device overflows.

ACTIVEMQ Message delivery mechanism and an explanation of the ACK mechanism

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.