... 在绝大多数情况下,聚合将通过申请(applying)它们发布事件。然而,有时候也有必要发布一个事件(可能来自另一个组件),直接到事件总线。发布一个事件,在EventMessage中简单封装描述事件的有效负载(payload)。 事件总线(Event Bus) 配置API负责令牌存储,以及大多数其他组件处理器需要从全局配置实例。如果没有明确定义TokenStore ,在生产中不推荐使用InMemoryTokenStore。 ...
基于1个网页-相关网页
Event-bus pattern 事件总线模式
Click on the event bus transmission profile.
单击事件总线传输概要。
The synchronous transmission profile JNDI name is the JNDI name of the event bus transmission profile resource.
同步传输概要 JNDI 名称是事件总线传输概要资源的 JNDI 名称。
A default event bus transmission profile is automatically configured at installation to be used to send CBEs synchronously to the server and is shown in figure 6.
WebSphere安装会自动配置一个默认事件总线传输概要,这里使用该概要来同步发送CBE到服务器中,如图6所示。
应用推荐