Previous Topic

Next Topic

Book Contents

Book Index

WebSocket Remote Event Push Configuration

This configuration is provided by JSON-RPC Event Websocket Bundle. Its persistent Identity (PID) is com.prosyst.mbs.impl.services.jsonrpc.event.push.RemoteEventPushConfiguration.

Property

Default Value

Description

subscriptionMaxAge

180000

Defines the duration for which a subscription will be valid in seconds. Once that duration expires the subscription will be automatically removed and the client will be notified.

subscriptionsMaxCount

10

Maximum number of simultaneous subscriptions. No new subscriptions are accepted by the server after the subscriptions maximum count has been reached. Value -1 means that there is no limit on the number of simultaneous subscriptions.

eventsMaxCount

100

Maximum number of cached events per event subscription. If a new event is locally delivered after a predefined maximum events count is reached then the oldest event in the queue is removed and never delivered to the remote client.

handlerPriority

-1

Determines the value of the mbs.events.handlerPriority registration property for the EventHandler services that will be registered for each subscription. If not specified, or set to -1, the registration property will not be set.

maxWebSocketConnections

20

Determines the maximum number of web socket connections associated with the JSON-RPC Remote Event Push WebSocketApplication.

The value configured here is compared against the "WebSocketApplication max number of websocket connections" configuration property of the "WebSockets Server Configuration" and the lower of those two values is selected as the active limitation for maximum connections.