我正在尝试评估 Mule 提供的一组开箱即用的传输,并将其与来自例如ServiceMix 和 OpenESB。
在 Mule 的主页上,我找到了支持的传输列表:
http://www.mulesoft.org/documentation/display/current/Transports+Reference
不过,我还在以下位置找到了连接器列表:
http://www.mulesoft.org/connectors
这些列表之间似乎至少有一些重叠,但有些技术被列为传输,而不是连接器,例如,有 Quartz 传输,但没有连接器。
所以问题是:Mule Transport 和 Mule Connector 之间到底有什么区别,为什么是 Mule Transport 和 Mule Connector quartz 传输器而不是连接器?
最佳答案
传输的目标是一种传输数据的方式,即像 HTTP 或读/写文件这样的协议(protocol)。这些是一般概念,此类数据通道背后的另一方可以是任何事物,纯数据接收器或可以与之交换数据的一方、自己的公司或其他方。
连接器是为使用特定的 API 而制作的,例如来自 salesforce.com 或 facebook 的那些。通常,选择连接器还决定了数据最终将如何传输,例如HTTP。
来自 mulesoft.org:
Connectors function like endpoints by sending and receiving data over a transport. However, while endpoints are generic for a widely-used protocol (such as JDBC, FTP, HTTP, POP3, etc) each connector is built to optimize the connection with a specific third-party API, such as Salesforce or Twitter.
关于mule - Mule 连接器和传输器之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19654977/