@jws:conversation-lifetime Annotation

Specifies the maximum age and/or the maximum idle time for a service's conversations.

Syntax

@jws:conversation-lifetime

[max-idle-time="duration"]

[max-age="duration"]

Attributes

max-idle-time

The amount of time that the conversation may remain idle before it is finished by WebLogic Server. Note that only activity between a web service and its client will reset the idle timer; activity between a web service and controls does not reset the idle timer.

Default: 0 seconds. Conversations with 0-length idle timeout will never timeout due to inactivity.

max-age

The amount of time (since it started) that the conversation may remain active before it is finished by WebLogic Server. Default: 1 day (24 hours).

Remarks

The following rules apply to this annotation's use:

Related Topics

@jws:conversation Annotation

Managing Conversation Lifetime

JwsContext Interface