Previous Topic

Next Topic

Book Contents

Book Index

REST Events Pull Bundle Long Polling Subscription Configuration

The persistent identity (PID) of the Long Polling Subscription configuration is com.prosyst.mbs.impl.services.rest.events.pull.subscriptions.LongPollingSubscriptionConfiguration.

Configuration Property

Default Value

Description

subscriptionMaxAge

80000

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, they are forced closed by the server.

subscriptionsMaxCount

10

Maximum number of simultaneous subscriptions. No new subscriptions are accepted by the server after the subscriptions max count has been reached.

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

Returns 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.