Use the Sample Event Provider descriptor file as a template, and modify this file to suit your requirements. This XML descriptor file contains four sections:
- The General properties section contains several properties, such as the name, description, version, and application name to refer to the application, type and class path.
- The type of event provider can be Polling or Receiving.
- ClassPath is the package path of the event provider. The Gateway integration broker uses this information to load the event provider at run time using Java reflection mechanism.
- The EventProviderConfigs section defines event provider level configuration parameters.
- The EventListeners section defines event listeners for the event provider.
- The EventProviderInstance section describes information for an event provider instance.
Note: Only one event provider instance must be specified for each application deployment.
- The AppInstanceName points to the application deployment.
- The EventListenerInstance section contains properties for an event listener instance.
ListenerName points to the listener that this instance belongs to.
FlowName and SynchronizationName in combination determines the synchronization to be run by the listener.
DelayInMinutes describes the interval that the event broker will wait between when it receives the event and when the corresponding synchronization starts to run. During this time, if another event comes that would trigger the same synchronization with the same parameters (such as project filter), this event is merged together without scheduling another synchronization to run later. A synchronization in Gateway often loads the full project, so it could be expensive to run. This mechanism reduces the number of times that a synchronization would run with the cost of longer wait before a synchronization starts to run.
Tip: If you notice that the Gateway is under heavy load, increment the value of this setting to make synchronizations wait longer and run less.
ListerConfigs contains default values for the listener level configuration parameters.