View Source

{excerpt}
h1. Servlet context parameters

These parameters are to be defined in the web.xml file of the application using ICEpush.

* _org.icepush.cloudPushIdTimeout_ \- This parameter defines the interval of time (in milliseconds) of inactivity for a given Cloud Push-ID after which it is expired/discarded.

* _org.icepush.contextPath_ \- Parameter used for changing the context path used by the blocking connection. This is needed when a notifications collected from multiple application and possibly servers are dispatch though single blocking connection.

* _org.icepush.disableRemoteHostLookup_ \- Parameter used to enable/disable remote host lookup. If set to true remote address lookup is used instead of remote host lookup. The default value is false.

* _org.icepush.emptyResponseRetries_ \- . The default value is _3_.

* _org.icepush.groupTimeout_ \- This parameter defines the interval of time (in milliseconds) of inactivity for all Push-IDs belonging to a given Group after which it is expired/discarded.

* _org.icepush.networkErrorRetryTimeouts_ \- _(since 4.1, EE 3.3.0.GA_P04)_ A space separated list of integer heartbeat timeout multiplication factors. A network error is detected when the bridge does not receive a response in the amount of time resulted from multiplying the first factor in the list with the current heartbeat timeout. Once a network error is detected new connection is initiated, if again no response is received the second multiplying factor is used and so on. Once the end of the list is reached the bridge will give up trying to establish the connection, and an Network Connection Interrupted (NCI) message will be displayed (unless disabled). The default value is _1 1 1 2 2 3_.

* _org.icepush.heartbeatTimeout_ \- This parameter defines the interval of time (in milliseconds) during which the blocking connection will stay blocked, assuming there is no other activity inactivity. Once unblocked the client will create a new blocking connection thus effectively creating a server side initiated heartbeat mechanism. The default value is 15 seconds.

* _org.icepush.notificationQueueSize_ \- . The default value is _1000_.

* _org.icepush.notificationStormLoopInterval_ \- This parameter defines the maximum interval between two successive requests that would be considered issued during a notification tight loop (default is 700ms > EE 3.3.0.GA_P02, and 275ms as of EE 3.3.0.GA_P03/EE 4.0.0.GA).

* _org.icepush.notificationStormMaximumRequests_ \- This parameter defines the maximum number of successive tight loop requests after which the blocking connection would be terminated (defaults to 25).

* org.icepush.notificationStormBackOffInterval \-This parameter defines the interval during which the client should back off during a notification storm from initiating any blocking requests. Defining this parameter changes the notification storm response behaviour since normally the connection is shutdown definitively.

* _org.icepush.pushIdTimeout_ \- This parameter defines the interval of time (in milliseconds) of inactivity for a given Push-ID after which it is expired/discarded.

* _org.icepush.serverErrorRetryTimeouts_ \- A space separated list of timeout intervals measured in milliseconds. When a server error is received the bridge will use the first interval in the list to delay the connection retry, if it receives a server error again it will use the second value and so on. Once the end of the list is reached the bridge will give up trying to establish the connection. The default value is _1000 2000 4000_.

* _org.icepush.useAsyncContext_ \- Parameter used to enable/disable Servlet 3.0 ARP (Asynchronous Request Processing) depending on the presence of Servlet 3.0. The default value depends on the presence of Servlet 3.0: if present the default value is true, if not present the default value is false.


h1. Javascript configuration parameters

These parameters can be changed programmatically by the page that loaded the ICEpush bridge.

* _ice.push.configuration.contextPath_ \- Alternative context path for the blocking connection. This property corresponds to _org.icepush.contextPath_ context parameter.
{excerpt}