Jump to: navigation, search

cometd Section

This section includes options which correspond to the native CometD options described at https://docs.cometd.org/current/reference/#_java_server_configuration_bayeux.

maxInterval

Description: The maximum number of seconds that the server will wait for a new long poll from a client before that client is considered invalid and is removed.
Default Value: 15
Valid Values: positive integer
Mandatory: No
Changes Take Effect: After server restart

timeout

Description: The maximum number of seconds that the server will wait for a message before responding to a long poll with an empty response.
Default Value: 30
Valid Values: positive integer
Mandatory: No
Changes Take Effect: After server restart

interval

Description: The maximum number of seconds that the client must wait between the end of one long poll request and the start of the next.
Default Value: 0
Valid Values: positive integer
Mandatory: No
Changes Take Effect: After server restart

transports

Description: Comma-separated list of allowed CometD transports. By default, all transports are supported. This option is useful if, for example, you need to to turn off the websocket transport on the server side.
Default Value: org.cometd.websocket.server.JettyWebSocketTransport, org.cometd.server.transport.JSONTransport, org.cometd.server.transport.JSONPTransport
Valid Values: comma-separated names of classes which implement CometD transport
Mandatory: No
Changes Take Effect: After server restart

maxSessionsPerBrowser

Description: Maximum count of CometD connections opened per browser connection.
Default Value: 1
Valid Values:
Mandatory: No
Changes Take Effect: After server restart

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on July 23, 2018, at 09:34.