With your policy sets, you can define policies for WS-Addressing,
WS-Security, WS-ReliableMessaging, WS-Transaction, HTTP transport, Java Messaging Service (JMS) transport, and
Secure Sockets Layer (SSL) transport. The policies for all but WS-Security
are relatively straightforward to define.
Before you begin
The provided default policy sets cannot be edited. You can
create a copy of the default policy set or create a completely new
policy set in order to specify the policies for it.
About this task
Polices are associated with policy sets, so you can change
an instance of a policy for a particular policy set.
Procedure
- Select the policy set containing the policy you want to
modify. To customize the policies associated with a policy
set, from the administrative console, click:
- >policy_set_name.
Click a policy name in the Policies table.
- Or >policy_set_name.
Click a policy name in the Policies table.
- Modify the settings. Depending on which Policy
you choose, different settings can be modified.
- [Optional] If the policy to be modified is not already
in the Policies table, click Add and select
a policy from the list to modify.
- Save the changes you have made. Once you change
the settings on a policy, you need to save the changes to return to
the policy set.
Results
The policy set configuration is saved with the selected modifications.
Example
You have created a copy of the WSReliableMessaging persistent
policy set and named it
WSRM_p1. You want to change
the settings on the WSReliableMessaging policy that is included, by
default, in the copy of this policy set. So you click your
WSRM_p1 policy
set from the Application policy sets window and then click the WSReliableMessaging
policy from the Policies table. You can then alter the following settings:
- Standard
- The default setting is WSReliableMessaging 1.1.
- Deliver messages in the order that they were sent
- The default setting is false. Valid values are true or false.
- Quality of service
- The default is Unmanaged non-persistent
Save your changes and return to the Application policy
sets window for the WSRM_p1 policy set.
What to do next
You can use the policy set as you have configured or you
can change the bindings, attach or detach the policy set from applications.
Note: Because this policy set specifies managed persistent quality of service, you have to define bindings to the service integration bus and messaging engine that you want to use to manage the WS-ReliableMessaging state. You can attach and bind a WS-ReliableMessaging policy set to a Web service application by using the administrative console or the wsadmin tool.