java - EAI经纪商模式

标签 java esb eai eip

我是 EAI 新手,了解到有 2 种实现 EAI 的方法

1) 经纪商/中心辐射模型 2)企业服务总线

代理模型是 JMS 吗?

我从事 Spring 集成工作,它是轻量级 ESB,所以对 ESB 的工作原理有一些了解。

但不确定 Broker 模型

任何能够详细阐述 Broker 模型以及如何实现它的人。

提前致谢

问候 拉曼迪普·S.

最佳答案

代理或中心辐射是一种基于集中式中间件的集成模式。

是的,JMS 就是这种模式的实现。 请参阅this :

Integration Hubs

... When translating the concept of hub and spoke to the world of integration it is useful to have a closer look at what a connection between two systems really entails, i.e. what does the line between two boxes really represent? In some cases, the line might be a message queue, in other cases it might be a publish-subscribe topic or in yet other cases it might be the URI. So depending on the system, having a lot of lines might now immediately a problem. While it sure would be a pain to setup a lot of message queues, publish-subscribe topics and URI's are largely logical concepts and having a lot of them night mean a bit more maintenance but is unlikely to be the end of the world.

But the Hub-and-Spoke architecture also provides another significant benefit -- it decouples sender and receiver by inserting an active mediator in the middle - the hub. For example, this hub can perform the important function of routing incoming messages to the correct destination. As such, it decouples the sender of the message from having to know the location of the receiver. Having all messages travel though a central component is also great for logging messages or to control message flow. The Hub-and-Spoke style applied in this manner is commonly referred to as Message Broker because the hub brokers messages between the participants.

Data Format Considerations

A Message Broker should also include a protocol translation and data transformation function. For example, a message may arrive via a message queue, but has to be passed on via HTTP. Also, location transparency is only an illusion unless data format translation is also provided. Otherwise, a change in the destination (i.e. a request in form of a message is now being serviced by another component) is very likely to require a change in the message data format. Without a Message Translator in between, the message originator would also have to be changed. Therefore, the implementation of this type of Hub-and-Spoke architecture typically includes data format translation capabilities.

关于java - EAI经纪商模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31680141/

相关文章:

java - 在当前类型是抽象对象的具体对象上调用具体方法

nservicebus - 在 nServiceBus 中订阅来自多个发布者的消息

transactions - Mule ESB 3.3 异常策略和回滚莫名其妙的行为

eai - 有什么好的 EAI(企业应用集成)书籍?

design-patterns - 哪些 ESB 直接实现 EAI 模式?

java - Webmethods 集成服务器的出站适配器

java - Java中如何从字符串中提取url?

java - 如何使 Java 线程获得相当数量的 CPU 时间

java - 根据数据库中的日期设置警报

Carbon 4.2 上的 WSO2 ESB - 部署处理程序 'Transport' 时未找到所需的阶段 'POXSecurityHandler'