Polling interval timeout configuration

Requests that are sent using the EMBasicXMLInvoker class are polled automatically with default polling values. Poll requests are sent every five seconds until a reply is received. It is recommended that you change the polling values to your network capabilities. You can modify the number and frequency of poll requests that are sent using the setPollRequestIntervalMilli and setPollRequestTimeoutMilli methods.

The total number of times that polling is conducted is a function of the values determined by the setPollRequestIntervalMilli and setPollRequestTimeoutMilli methods and the amount of time that each poll request takes.

EXAMPLE: The total amount of time for polling is set at 10,000 milliseconds (10 seconds), using the setPollRequestTimeoutMilli method.

The time between poll requests is set at 2000 milliseconds (2 seconds), using the setPollRequestintervalMilli method.

Each polling request takes about 500 milliseconds (0.5 seconds).

10,000 / (2000 + 500) = 4 poll requests

Parent Topic

EMBasicXMLInvoker and EMXML Invoker class