将 WS-Notification 用于 Web Service 的发布和预订消息传递
WS-Notification 使 Web Service 能够使用发布和预订消息传递模式。
关于此任务
您使用发布/预订消息传递将一条消息发布至多个订户。在此模式中,生产应用程序将消息(事件通知)插入(发布)到消息传递系统,并通过指示消息主题区域的主题对该消息作标记。已预订相关主题并具有适当权限的消费应用程序全都会接收到生产应用程序所发布的消息的独立副本。
通过在 WebSphere® Application Server 中实现 WS-Notification,可实现以下目标:
- 使用现有的服务集成技术和 Web Service 组件来提供 WS-Notification 功能。
- 与其他发布和预订消息传递客户机互操作(例如,Java™ 消息服务 (JMS)、IBM MQ) 以及与备用消息代理产品互操作。
- 在高可用和工作负载管理的配置中部署 WS-Notification NotificationBroker。
有关使用 WS-Notification 的更多信息,请参阅下列主题:
过程
- WS-Notification
- 完成普通 WS-Notification 任务
- 配置 WS-Notification 资源
- 保护 WS-Notification
- 开发使用 WS-Notification 的应用程序
下一步做什么
注:
- (仅限于单一服务器上的开发使用)可以使用脚本来配置必需的资源,以便快速方便地开始运行 WS-Notification。
- 在 WebSphere Application Server V6.1 中,对 WS-Notification 的支持基于 WS-Notification 标准的预先最终许可公共复审草稿。在更高版本中,此支持扩展为包括最终许可标准。两个标准版本之间的差别很小,现有 WS-Notification 服务和客户机应用程序将继续按原样工作。但是,可选择按WebSphere Application Server V6.1 客户机应用程序必须处理其他出错条件中所述升级现有应用程序。