Session Timeout issues in the DynamicLoadBalanceEndpoint
--------------------------------------------------------
Key: SYNAPSE-704
URL: https://issues.apache.org/jira/browse/SYNAPSE-704
Project: Synapse
Issue Type: Bug
Components: Core
Affects Versions: 2.0
Reporter: Sameera Jayasoma
Fix For: 2.1
DynamicLoadBalanceEndpoint supports session affinity based dynamic load
balancing. Here we maintains session information in the SessionInfomation
object. For these sessions in the ESB, you can set a session timeout. When the
session is expired, SessionInformation object is removed from the internal map,
maintained by the SALSessions class. These sessions are timed-out even if there
are active requests. That means session expiry time is not updated.
The solution is to update the session expiry time per request. So when a
requests come in a session, we need to updated the expiry time in the following
manner.
expirytime = Current_time + session-time-out;
I've attached a patch which solves this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]