Enterprise Service Bus Terminology

前端 未结 2 900
余生分开走
余生分开走 2021-02-03 11:30

Can anyone explain at a beginner-intermediate level the terminology of \"bus\", \"transport\" and \"endpoint\" in the context of an enterprise service bus? I\'m a C# developer

2条回答
  •  既然无缘
    2021-02-03 12:12

    Let me try to clarify those terms to you:

    Bus in context of ESB architecture should not be considered as simple queue for message dispatching. To allow integration of different services, ESB provides much more. Important additional functionalities of ESB:

    • Routing. Messages can be routed to different services, depending on message content or endpoint specification.
    • Message Transformations/Mediations between different formats
    • Transport protocol conversion. ESB should be able to seamlessly integrate applications that use different transport protocols (JMS, HTTP/S, pure TCP, etc.)
    • Message enhancement. Messages can be enriched with missing data before further processing.
    • Security
    • Management and Monitoring

    Those functionalites are provided by services that operate within ESB. Services connect to each other via endpoints - uniform, unique "addresses". Messages dispatched between endpoints are using unified transport (method/protocol that encapsulates message's payload). Application that natively use different transport, need to connect to ESB via suitable adapter - service that will provide necessary transport conversion. This way applications that use ESB are decoupled from each other and don't need to provide conversions themselves.

    Of course, those are only very brief descriptions of terms. Remember, Enterprise Service Bus is only catch-term for specific kind of architecture (or concept), but it is not standardized in any way. So specific implementations can be very different from each other. If you are interested in standardized ESB, you can take a look at JBI (Java Bussiness Integration). There are several open-source implementations of JBI avalable, among them Apache ServiceMix, Mule, OpenESB. Very good introduction to ESB technologies is presented in "Open Source ESBs in Action" book published by Manning.

提交回复
热议问题