WS-ReliableMessaging settings

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. The product enforces these policies on inbound messages and applies them to outbound messages.

若要在主控台檢視這個窗格,請按下列路徑: .

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.

「配置」標籤

Standard
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.
Note: If you plan to invoke a .NET-based Web service, you must select WS-ReliableMessaging Version 1.0.
Enable "MakeConnection" for synchronous two-way message exchange

If you are using WS-ReliableMessaging Version 1.1, WS-MakeConnection should be enabled.

If you are using WS-ReliableMessaging Version 1.0, WS-MakeConnection should not be enabled.

Deliver messages in the order that they were sent

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

If you enable in-order delivery, you must also ensure that the requester application polls for the messages in the order in which it wants to receive them. For more information, see 配置 WS-ReliableMessaging 原則.

Specifying in-order delivery also marginally increases reliability if you are using the managed persistent quality of service. For more information, see 在伺服器成為無法使用之後,即使具備受管理持續性服務品質,也不會回復訊息.

Quality of Service
Select one of the following qualities of service:
Unmanaged non-persistent - Tolerates network and remote system failures
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. The default is Unmanaged Non-Persistent.
Managed non-persistent - Tolerates system, network, and remote system failures, but state is discarded after messaging engine restart
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.
Managed persistent - Tolerates system, network, and remote system failures
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.
Note:
  • 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. You specify a binding to a bus and messaging engine on the WS-ReliableMessaging (delivery bindings) settings form. If your chosen quality of service is Unmanaged Non-Persistent, which does not use a binding to a messaging engine, then any binding that you specify is ignored.



標示(線上)的鏈結表示需要存取網際網路。

Related concepts
Related tasks
Related reference


檔名: uwbs_wsspsrmd.html