GitHubContribute in GitHub: Open doc issue|Edit online

Working with the EventPropertyFile.properties file

You can do a number of things with EventPropertyFile.properties file. Learn more about it through the information provided here.

EventPropertyFile.properties provides a default set of events that can be received by the Server Notifications Connector. This will enable the user to configure the AL using the property file only. The property file has the following structure:

key=value

key determines the type of event and

value determines if this event is received. Therefore mainly

true and

false values are used. However, the event.customNotifications key doesn't expect a Boolean value. It must be set the names of custom events that will be received. For more detailed information about custom notifications refer to Sending custom notifications to OMNIbus. A few other things should be considered as well in order to avoid any misunderstanding. To clarify, look at the following diagram showing the default set of events:

|->event.all
|   |->event.ci.all
|   |   |->event.ci.start
|   |   |->event.ci.stop
|   |->event.ci.fileUpdated
|   |->event.al.all
|   |   |->event.al.start
|   |   |->event.al.stop
|   |->event.server.stop
|->event.hasCustomNotofications
|   |->event.customNotifications

As shown above some events include sub-events. If you enable an event then all sub-events will be received, no matter if they are set to *true or false. This means that if you have *

event.ci.all=true
event.ci.stop=false

then the event.ci.stop event will be received despite of it is set to false. In other words event.ci.all overrides its sub-events. However, if you have

event.ci.all=false
event.ci.stop=true
event.ci.start=false

then only the event.ci.stop event will be received.

By default the property file is set to provide all IBM® Security Verify Directory Integrator Server notifications. If you want to modify this set of events you need to change the Boolean values to true (if you want the event to be received) and false (if you want the event not to be received). In other words, if you want to receive all events that notify about the start of some component then your property file should look like this:

Figure 1. OMNIbus Properties

OMNIbus Properties

For working with the property file when considering receiving custom notifications refer to the section below, Send custom notifications to OMNIbus.