WS-ReliableMessaging 设置

For the WS-ReliableMessaging policy you can configure the version of the WS-ReliableMessaging standard that you want to use, the order in which messages are delivered, and the required quality of service (the reliability level) for message delivery. 该产品对入站消息执行这些策略并将其适用于出站消息。

要在控制台中查看此窗格,请单击以下路径: 服务 > 策略集 > 应用程序策略集 > policy_set_name > WS-ReliableMessaging.

With WebSphere® Application Server, you can use WS-ReliableMessaging with Java™ API for XML-Based Web Services (JAX-WS) 2.0 Web services applications that use a SOAP over HTTP binding. To configure a Web service application to use WS-ReliableMessaging, you attach a policy set that contains a WS-ReliableMessaging policy type. This policy type offers a range of qualities of service: managed persistent, managed non-persistent, or unmanaged non-persistent.

Do not edit the policies associated with the provided default policy sets. If you need to modify the reliable messaging policy settings, use a copy of a default policy set or create a new policy set.

“配置”选项卡

标准
Select the WS-ReliableMessaging specification to use for reliable transmission of your messages. WS-ReliableMessaging Version 1.1 is the default value. Details of the supported WS-ReliableMessaging specifications are available at the following Web addresses:
  • The WS-ReliableMessaging specification Version 1.0, February 2005.
  • The OASIS WS-ReliableMessaging specification Version 1.1, February 2007.
注: If you plan to invoke a .NET-based Web service, you must select WS-ReliableMessaging Version 1.0.
按照消息的发送顺序来传递消息

Select this option if the sender of a request has to receive a response before it sends the next request.

如果启用按顺序传递,那么还必须确保请求方应用程序按其接收消息的预期顺序对这些消息进行轮询。有关更多信息,请参阅配置 WS-ReliableMessaging 策略。

如果正在使用受管持久服务质量,那么指定按顺序传递还会稍微提高可靠性。有关更多信息,请参阅在服务器变得不可用之后未恢复消息,即使指定了受管持久服务质量也是如此

服务质量
选择下列其中一种服务质量:
非受管非持久 - 允许网络和远程系统故障
You can configure Web service applications to use WS-ReliableMessaging with a default in-memory store. This quality of service requires minimal configuration. However it is non-transactional and, although it allows for the resending of messages that are lost in the network, if a server becomes unavailable you will lose messages. This quality of service is for single server only and does not work in a cluster. This quality of service is not supported on the z/OS® platform. 缺省值为非受管非持久。
受管非持久 - 允许系统、网络和远程系统故障,但在消息传递引擎重新启动后废弃状态
This in-memory quality of service option uses a messaging engine to manage the sequence state, and messages are written to disk if memory is low. This quality of service allows for the re-sending of messages that are lost in the network, and can also recover from server failure. However, state is discarded after a messaging engine restart so in this case you will lose messages. This option supports clusters as well as single servers.
受管持久 - 允许系统、网络和远程系统故障
This quality of service for asynchronous Web service invocations is recoverable. This option also uses a messaging engine and message store to manage the sequence state. Messages are persisted at the Web service requester server and at the Web service provider server, and are recoverable if the server becomes unavailable. Messages that have not been successfully transmitted when a server becomes unavailable can continue to be transmitted after the server restarts.
注:
  • All three qualities of service are supported when applications are deployed to the application server. Thin client and client container applications use the first option only.
  • For the unmanaged non-persistent quality of service, the messages are stored only in memory. For both of the managed qualities of service, the messages are managed by a messaging engine backed by a message store. 在 WS-ReliableMessaging 策略绑定表单上指定总线与消息传递引擎绑定。如果选择的是非受管非持久服务质量,它不使用消息传递引擎绑定,那么将忽略您所指定的任何绑定。



标有(在线)的链接要求访问因特网。

相关概念
相关任务
相关参考


文件名: uwbs_wsspsrmd.html