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. Use the
administrative console to attach the policy set to your application, and (for
managed qualities of service) define bindings to a service integration bus
and messaging engine.
About this task
Use this task to complete the following broad actions:
- Attach a reliable messaging policy set (either a default policy set or one that you have created) to an aspect of your application (that is, application level or service level). Policy sets define the reliability level (quality of service) and other configuration options that you want to apply to your reliable messaging application.
- Define the bindings for each attachment to a policy set that specifies a managed quality of service. That is, choose the service integration bus and messaging engine to use to maintain the state for the managed persistent and managed non-persistent qualities of service.
To attach a WS-ReliableMessaging policy set and define bindings
using the administrative console, complete the following steps:
Procedure
- Attach a policy set
to your reliable messaging application at either application level or service
level..
Note:
- You can attach one policy set at each level.
- You can only apply a WS-ReliableMessaging policy at application level or service level.
- If you apply reliable messaging at service level, then all services must use the same WS-ReliableMessaging policy and bindings values.
- You can attach any policy set at operation level. For a policy set that includes the WS-ReliableMessaging policy, attachment at the operation level configures the other components of the policy set (for example WS-Security and WS-Addressing) but any WS-ReliableMessaging configuration at operation level is ignored.
- If your chosen policy set specifies a managed quality of service, define bindings to a service integration bus and messaging engine.
If the policy set instance specifies managed non-persistent or managed persistent quality of service, choose the service integration bus and messaging engine that is to manage the WS-ReliableMessaging state. Use the
WS-ReliableMessaging (delivery bindings) settings panel
to select or create the service integration bus and messaging engine that
you want to use.
Note: When many applications use the same messaging engine, it can impact performance. Before you bind a reliable messaging application to a particular messaging engine, check how many other applications are already binding to that messaging engine and, if necessary, create a new messaging engine to bind to your application. In order to make the reliable message application environment more scalable in a cluster, increase the number of messaging engines associated with the cluster.
To
define the bindings for the reliable messaging default policy type, navigate
to .
To define
the bindings for a policy set that you have created, or for an application
that you have attached to a policy set, navigate to and
follow the instructions given in Manage
policy sets and bindings for service providers at the application level using
the administrative console.
- Save your changes to the master configuration.