defaultServiceTimeout

The defaultServiceTimeout build descriptor option specifies the maximum valid number of milliseconds that elapse between two events:

If the response takes longer than the specified maximum, the EGL Runtime throws a ServiceInvocationException.

Setting a timeout is partly a matter of trial and error:

The option defaultServiceTimeout is available for Rich UI and EGL-generated Java. For Rich UI, you can override the value by setting the timeout property on the call statement that invokes the service.

The default is an infinite wait. (In EGL version 7.5.1, the default was 10,000).

Compatibility

Table 1. Compatibility considerations for defaultServiceTimeout
Platform Issue
COBOL generation The build descriptor option has no effect.
Rich UI The build descriptor option has no effect during access of a dedicated service.

Feedback