Enabling the subscription notifier scheduler
To activate your subscription notifiers, you must enable a WSRR scheduled task. When enabled, the task runs periodically to check for changes to subscribed objects, and notifies the subscription end points by using a subscription notifier of the associated type; for example, email subscription notifier, HTTP POST subscription notifier.
About this task
If you are using WSRR Studio to manage your configuration profiles, use WSRR Studio to modify your configuration profile files; see Editing generated artifacts.
Procedure
Complete the following steps to enable the subscription notifier plug-in scheduled task by using the web UI:
- Open the WSRR web user interface.
- Switch to the Configuration perspective if necessary, by selecting Configuration in the Perspective list.
- Click .
- Click SubscriptionNotifierPluginScheduler.
- Change the value of the <enabled> element to true.
- (Optional) Change the values of the <interval> and <intervalGranularity> elements to control the required frequency at which the scheduled task runs; the default is 5 minutes.
- Click OK to save your changes
Example
The following is an example of a
subscription notifier plugin scheduler configuration file:
<scheduler-configuration
xmlns="http://www.ibm.com/xmlns/prod/serviceregistry/6/1/SchedulerProperties">
<scheduler-task
name="SubscriptionNotifierPluginMessageTask">
<type>Message</type>
<subscriptions>
<topic>jms/SubscriptionTopic</topic>
</subscriptions>
<interval>5</interval>
<class>com.ibm.sr.subscriptionnotifier.plugin.SubscriptionNotifierPluginMessageTask</class>
<enabled>true</enabled>
<startTimeOffset>1</startTimeOffset>
<intervalGranularity>minutes</intervalGranularity>
<startTimeOffsetGranularity>seconds</startTimeOffsetGranularity>
<transactionality>perMessage</transactionality>
</scheduler-task>
</scheduler-configuration>