Previous Topic

Next Topic

Book Contents

Book Index

REST Events Push Bundle Web Socket Subscription Configuration

The persistent identity (PID) of the Web Socket Subscription configuration is com.prosyst.mbs.impl.services.rest.events.push.subscriptions.WebSocketSubscriptionConfiguration.

Configuration Property

Default Value

Description

subscriptionMaxAge

180000

Maximum subscription age in seconds. Subscriptions which reach the maximum age are automatically deleted by the server and all relevant client connections (opened web sockets/long poll requests), if there are any, are forced closed by the server.

subscriptionsMaxCount

10

Maximum number of simultaneous subscriptions. If a new event subscription is created after the maximum subscriptions count is reached then the oldest subscription is automatically deleted and all relevant client connections(opened web sockets/long poll requests)are forced closed by the server.

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 Event Handler 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 REST RemoteEvents WebSocket application.

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.