Skip navigation.

Configuration

The following init parameters can be used to configure the servlet:

timeout
The server side poll timeout in milliseconds (default 250000). This is how
long the server will hold a reconnect request before responding.
interval
The client side poll timeout in milliseconds (default 0). How long a client
will wait between reconnects
maxInterval
The max client side poll timeout in milliseconds (default 30000). A client will
be removed if a connection is not received in this time.

multiFrameInterval
the client side poll timeout
if multiple connections are detected from the same browser (default 1500).
JSONCommented
If "true" then the server will accept JSON wrapped
in a comment and will generate JSON wrapped in a comment. This is a defence against
Ajax Hijacking.
filters
the location of a JSON file describing {@link DataFilter} instances to be installed
requestAvailable
If true, the current request is made available via the {@link AbstractBayeux#getCurrentRequest()} method
loglevel
0=none, 1=info, 2=debug
directDeliver
true if published messages are delivered directly to subscribers (default). If false, a message copy is created with only supported fields (default true).
refsThreshold
The number of message refs at which the a single message response will be cached instead of being generated for every client delivered to. Done to optimize a single message being sent to multiple clients.