add event trigger enhancement

The enhanced add event trigger command supports the four new triggers. For more information on add event trigger, see Chapter 9, “Replication Monitoring Services API,” in the Replication Server Reference Manual.

Syntax

The modified add event trigger syntax is:

add {status | latency | size} trigger
       [{connection | logical connection | route | queue | rep agent |
         partition} [component_name]]
       [with primary primary_connection]
for server_name
{status changes to state |
  size {exceeds | falls below} size_threshold |
  latency {exceeds | falls below} latency_threshold}
[wait wait_interval]
[continuous continuous_flag]
execute command

Parameters

The new parameters are:

Examples

Here are examples using the new triggers in RMS:

Usage