DEV Community

Jihao Deng
Jihao Deng

Posted on

1

DA11 Messaging in EA

本篇主要讲使用消息传递机制来集成企业级应用。

Messaging system – responsible for transferring data from one application to another.

Messaging Components

  • Message channel
  • Message
  • Message router
  • Message translator
  • Message endpoint

Message channel

Message Channel is a virtual pipe that connects a sender to a receiver.

Sender 和 receiver 都无需关心对方,只需要负责发送和接受。

对每一个channel,数据的格式要唯一,如果两个applications之间有不同格式的数据,那么需要多个channel。

Two types of channel

  • Point-to-point channel: send the data to a single application. 一对一。需要注意的是:在channel的另一端并不一定只有一个application,可以有多个,但是一个message只有一个application可以收到。
  • Publish-subscribe channel: allow multiple applications to receive the same message. 一对多。

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay