JwsContext.setMaxIdleTime(String) Method
Sets the time (in seconds) that the conversation can remain idle before finishing due to client inactivity.
public void setMaxIdleTime(String duration)
duration
The number of seconds the conversation can remain idle before it will expire.
None.
IllegalStateException
Thrown if the method is called from a service instance that is not conversational.
IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Conversation idle time is the amount of time that can pass between incoming messages before the service instance is finished due to client inactivity. You can initialize a conversation's idle time to a default through the setting given at the top of the JWS file, but each instance can be set to a different idle time value through the setMaxIdleTime method.
To disable idle time expiration, set the maximum idle time value to zero.
JwsContext.resetIdleTime() Method
JwsContext.setMaxIdleTime(long) Method