Tags: Message middleware, Title: Getting Started with Message middleware [First article]


preface

Today I saw such a course on message-oriented middleware on MOOCs and couldn’t help myself.

In fact, middleware is still a relatively advanced course, I can not fully understand at the current level, and THERE is no actual concrete combat experience. So this article is just a simple introduction to message-oriented middleware.

Later, if you come into contact with the knowledge of message-oriented middleware, you can make up for it.

What is messaging middleware #

The corresponding post data: www.cnblogs.com/hzmark/tag/…

The following blog post provides a more detailed answer: message middleware.

This paper mainly introduces that message-oriented middleware can reduce the coupling between systems and bring the benefits of asynchrony.

Concepts related to messaging middleware

Reference post: www.cnblogs.com/hzmark/p/mq…

JMS

JMS, such as our JDBC connection to the database, is the same as providing the corresponding interface for us to call, so the specific implementation is provided by the manufacturer for us.

The JMS specification

AMQP

AMQP is a protocol for message-oriented middleware, similar to the HTTP protocol used on our website.

JMS and closer

Comparison of various messaging middleware

ActiviMQ is an implementation of AMQP protocol.

Use ActiviMQ message-oriented middleware

Related code source: github.com/zccodere/st…

As well as data: www.daima234.com/12/682700.h…

The cluster configuration

Broker Clusters synchronize messages

Broker Cluster synchronizes messages, allows information to be shared, and balances loads.

Master\Slave implements high availability

The Master Slave approach allows: if one server crashes, the rest of us can still receive service. High availability!

In combination with

Best practices for messaging middleware

If you find this article helpful, give the author a little encouragement