Event Handler

All event handlers share a certain configuration. The preferences path is usually equivalent to the event or task implementation class name.

You can set these configuration options:
Key Default Description
event.retry.delay 60 Defines the retry delay time, in seconds.
event.retry.maxRetries 3 Defines the maximum number of retries.
event.expiry 0 Defines the time after which an event is regarded as expired and can no longer be handled.
event.handler.maxActive 4 Controls the maximum number of objects that can be allocated, such as checked out to clients or idle awaiting checkout by the pool at any given time.  A negative value indicates that there is no limit to the number of objects that can be managed by the pool at one time. When maxActive is reached, the pool is said to be exhausted.
event.handler.maxIdle 2 Controls the maximum number of objects that can sit idle in the pool at any time. A negative value indicates that there is no limit to the number of objects that can be idle at one time.
internal.dao.callerId –1 Defines the caller ID of the internal user. Used as the customer ID when creating or updating database records (ID_CUSTOMER_ CREATION, ID_CUSTOMER_LAST_UPDATE).
internal.service.username   Defines the user name that authenticates the service call in the event that a task, job, or event handler must make a call to a Mobiliser service.
internal.service.password   Defines the password for the user that authenticates the service call.