When authoring policies in the Business Space user interface,
enter the schedule conditions and an endpoint to route the message
to.
Before you begin
Access the Business Space. For information about accessing
Business Space, see
Connecting to WSRR.
The
Operations space must be created before policies can be created. If
the Operations space has not been created, see Configuring Business Space for the first use and follow the steps
to create the space.
About this task
Author new policies using the Operations space. When you
have finished authoring the new policies, the PolicySelector property
value must be entered for each policy.
Procedure
- Open the Operations space:
- Click Go To Spaces. The Go To
Spaces dialog is displayed.
- Click on the space for Operations users. The specific
name will depend on what was specified when the space was created.
- On the Overview tab, click Create a Mediation
Policy.
- Enter a meaningful name, and an optional description.
- Click Add Schedule condition. You can choose to specify one or more of the schedule condition
options:
- The start date.
- The end date.
- Specific days of the week.
- Specific hours of the day.
Use the calendar and clock icons to specify dates and times.
For more information about the Schedule condition in this pattern,
see the Schedule specification section in Policy usage in the IBM SOA Policy Pattern.Note: Conditions
other than the scheduling are not supported in this pattern.
- Specify the routing action if the conditions are true:
- Under Actions If All Conditions are True, click Add
Action.
- Select Route Message, and click Add.
Note: Actions other than message routing are not supported in
this pattern.
- Specify an endpoint. This is the target JMS endpoint
you wish a message to go to, if this policy is selected and schedule
condition applies.
- Click Finish.
Results
The policy is created and is stored in WSRR. To view the policy
document for the policy you just created, select the policy document
in the Service Registry Navigator Widget in the lower-left of the
screen. Alternatively, search for the name you specified, including
.xml on
the end. The policy document is displayed in the Service Registry
Detail widget on the right.
What to do next
When you have finished creating your policies, assign the
PolicySelector property a value for each policy. For more information,
see
Assigning the PolicySelector property for new policies.