The EventProviderInstance section describes information for an event provider instance.
In the Sample event provider, the EventFilePath parameter is defined to point to the event source XML file. For demonstration purposes and for convenience, the Sample event provider retrieves events from an event source XML file, SampleEvents.xml, located in the ..\<Gateway_Home>\providers\sample\sampleprovider\src\com\oracle\pgbu\pdi\sampleevent folder.
To run the Sample event provider:
- Copy the SampleEvents.xml file to your hard drive.
- Modify the value of this configuration parameter in the user interface to point to it.
- Change the Processed attribute to "false".
The Sample event provider will pick up this event for processing and modify the Processed attribute to "true" for this event in the file.
Also refer to the Gateway User Help for detailed instructions on using the Sample Event Listener.
The EventListeners section defines event listeners for the event provider.
The Sample provider has one listener called ProjectEventListener, which monitors for project changes.
This listener contains one configuration parameter called ProjectFields. Enter a comma-separated list of project field names for this parameter. This indicates the project fields which this listener is interested in. When the ProjectFieldsChanged element of an event in SampleEvents.xml, contains a field from the comma-separated list, this event will be processed. Otherwise, this event will be filtered out.