Previous Topic

Next Topic

Book Contents

Book Index

Event Admin JSON-RPC Provider Configuration

The JSON-RPC Handler Event Bundle provides the following initial configuration information. This configuration is with PID mbs.remote.ea:

Property

Default Value

Description

maxEvents

-1

This property allows you to set a limit on event queue used by each subscription. A negative value means no limit. If a limit is set, then the older events will be discarded from the queue when new arrives.

timeout

-1

This property allows you to set an inactivity timeout for the subscriptions. The default - negative value means, that there is no timeout set. If you set a timeout (in milliseconds) and the subscription is not read at least once for the period you have specified, it will be automatically closed. In this way, we can prevent memory leaks caused by buggy applications that do not call a unsubscribe method.