通道将消息移入或移出消息总线。
Channels move messages either into or out of the message bus.
那么,ESB就是消息总线吗?
创建一个消息总线与目的地。
名为SimpleBus的消息总线。
应用程序通过一个或多个通道与消息总线交互。
Applications communicate with the message bus through one or more channels.
可从消息总线截取以下消息事件并进行操作。
Here are some of the message events that can be intercepted from the message bus and acted upon.
服务提供者也连接到消息总线,并侦听请求消息。
The service providers also connect to the message bus and listen for request messages.
可以通过Web服务接口将消息推进消息总线中。
A Web services interface through which messages can be pushed into the message bus.
图1演示了一个围绕消息总线的ESB的典型架构。
Figure 1 illustrates the typical architecture of an ESB centered on a messaging bus.
传统消息总线方法的不足之处在于,它不是自描述的。
A shortcoming of the traditional message bus approach is that it's not self-describing.
此外,消息总线能够利用它的内部组件的基础运行时间。
Furthermore, the message bus can take advantage of the underlying runtime for some of its internal components.
消息总线是ESB的基础,并且不是什么新鲜事物。
This message bus is the gist of an ESB, and this is nothing new.
这个特殊的组件的目的是示范消息总线模型的固有的灵活性。
This particular component's goal is to demonstrate the inherent flexibility of the message bus model.
ESB具有消息总线一直缺少的功能:即上述描述和发现功能。
An ESB has abilities message buses have always lacked: The aforementioned describing and discovery abilities.
在应用程序安装后只启动它是不够的,因为消息总线还未启动。
It is not enough to just start the application after it has been installed because the message bus will not start.
首先,您需要创建一个消息总线,在其上您可以部署简单中介。
First, you need to create a messaging bus on which you can deploy the sample mediation.
在这部分所涵盖的内容当中只是粗略的提供了对消息总线模型实现。
The material covered in this installment has provided only a cursory glance at the basic implementation of the message bus pattern.
每条消息连同异步回调侦听程序一起被发布到驻留在业务层的消息总线。
Each message is published, along with an asynchronous callback listener, to a message bus residing on the business tier.
异步esb是其服务还支持自描述和可发现Web服务功能的消息总线。
An asynchronous ESB is a message bus whose services also support the Web service capabilities of being self-describing and discoverable.
如此说来,如果消息总线不是完整的ESB,那么ESB还可以做什么呢?
So if a message bus is not a full ESB, then what else does an ESB do?
通过事件驱动消息总线的每一个业务应用程序都是其它应用程序的同位体。
Each business application is a peer of the others through the event-driven message bus.
LotusSametime组件通过一个通用消息总线传递关键事件。
Lotus Sametime components communicate key events through a common messaging bus.
发送者只和消息总线交互,并不需要了解有关处理消息的组件的信息。
A sender interacts only with the messaging bus and does not need to know anything about the component that processes a message.
消息总线是消息通道(也称为队列或主题)的集合,通常配置为请求-应答通道对。
A message bus is a collection of message channels (also known as a queue or topic) usually configured as request-reply channel pairs.
虽然消息总线模式的实现与供应商有根大的关系,但其中仍有几个核心通用的概念。
While implementations of the Message Bus pattern vary greatly depending on the vendor, there are several core concepts that are universal.
不,消息总线肯定是异步ESB的基础,但完整的 ESB 还包括其他的功能。
No, a message bus is definitely the foundation of an asynchronous ESB, but a full ESB is something more.
不过,ESB 推荐使用异步消息总线样式的交互模式(如前面的 图4 所示)。
The ESB, however, encorages the use of the asynchronous message bus style interaction pattern illustrated in Figure 4 earlier.
目前存在用于实现同步ESB和消息总线(简化的异步 ESB)的标准和模式。
Standards and patterns exist today for implementing a synchronous ESB and a message bus that is a simplified asynchronous ESB.
当Web服务启动起来关闭控制台应用程序,以不影响消息总线的功能性的方式运行。
Shutting down the console application while the Web service is up and running in no way affects the functionality of the message bus.
消息通道:消息总线组件主要包含一个或多个单独的通道,可以通过这些通道传递消息。
Message channels: the message bus component is primarily comprised of one or more individual channels through which messages can be passed. Channels can have the following characteristics.
应用推荐