1.0

Table Of Contents
A boolean value that species whether you need to manually start the listener with
SYS.START_ASYNC_EVENT_LISTENER on page 571. If you do not supply a value, the
default is "true" and you must start the listener manually using
SYS.START_ASYNC_EVENT_LISTENER on page 571.
ENABLEBATCHCONFLATION
A Boolean value that determines whether SQLFire should conate messages. The default is
false.
BATCHSIZE
The maximum number of messages that a batch can contain. The default is 100 messages.
BATCHTIMEINTERVAL
The maximum number of milliseconds that can elapse between sending batches. The default
is 1000 milliseconds.
ENABLEPERSISTENCE
A Boolean value that determines whether SQLFire persists the event queue to disk for high
availability. The default is "False."
DISKSTORENAME
The named disk store to use for persisting the event queue. If you specify a value, the named
disk store must exist. If you specify a null value, SQLFire uses the default disk store for
persistence.
MAXQUEUEMEMORY
The maximum amount of memory in megabytes that the queue can consume before overowing
to disk. The default is 100 megabytes.
ALERTTHRESHOLD
The maximum number of milliseconds that an event can remain in this queue before SQLFire
logs an alert. The default is value is "0."
SERVER_GROUPS
A comma-separated list of server group names. SQLFire deploys the event listener
implementation on all peers in the specied server group(s).
Note: The specied server groups must contain at least one data store member
at the time you execute the CREATE ASYNCEVENTLISTENER statement.
Note: When you deploy an event listener (or DBSynchronizer) to listen for
asynchronous events, specify a server group that contains no more than 2 data
stores. SQLFire automatically designates one of the listeners as a "primary," and
the remaining listeners become "secondaries". Every additional "secondary" can
slow down the publisher. By default all SQLFire members that store data are
members of a single "default" server group.
Example
Install a basic AsyncEventListener implementation:
CREATE ASYNCEVENTLISTENER MyListener
(
LISTENERCLASS 'user.application.TestAsyncEventListener'
INITPARAMS ''
) SERVER GROUPS ( SG1 );
437
SQL Language Reference