Authoring new policies

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

  1. Open the Operations space:
    1. Click Go To Spaces. The Go To Spaces dialog is displayed.
    2. Click on the space for Operations users. The specific name will depend on what was specified when the space was created.
  2. On the Overview tab, click Create a Mediation Policy.
  3. Enter a meaningful name, and an optional description.
  4. 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.
  5. Specify the routing action if the conditions are true:
    1. Under Actions If All Conditions are True, click Add Action.
    2. Select Route Message, and click Add.
      Note: Actions other than message routing are not supported in this pattern.
    3. 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.
  6. 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.

Task Task

Feedback

Timestamp icon Last updated: Thursday, 3 July 2014
http://publib.boulder.ibm.com/infocenter/prodconn/v1r0m0/topic/com.ibm.scenarios.soawmbwsrr.doc/topics/tsoa_policies_creating.htm