Difference between a Message Broker and an ESB

后端 未结 7 1897
长情又很酷
长情又很酷 2021-01-29 18:40

I have gone through different questions/articles on Message Brokers and ESBs(Even on stackoverflow). Still not a clue as what is the CLEAR demarcating difference between an Mess

7条回答
  •  伪装坚强ぢ
    2021-01-29 19:01

    I copy this explanation from Shimon Amit, found in another topic (https://stackoverflow.com/a/3346417/5816637), which makes perfect sense to me.

    • An ESB provides added layers atop of a message broker such as routing, transformations and business process management. It is a mediator between applications, integrating Web Services, REST endpoints, database connections, email and ftp servers - you name it. It is a high-level integration backbone which orchestrates interoperability within a network of applications that speak different protocols.

    • A message broker is a lower level component which enables you as a developer to relay raw messages between publishers and subscribers, typically between components of the same system but not always. It is used to enable asynchronous processing to keep response times low. Some tasks take longer to process and you don't want them to hold things up if they're not time-sensitive. Instead, post a message to a queue (as a publisher) and have a subscriber pick it up and process it "later".

提交回复
热议问题