You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2010/11/02 11:14:24 UTC

[jira] Resolved: (SYNAPSE-704) Session Timeout issues in the DynamicLoadBalanceEndpoint

     [ https://issues.apache.org/jira/browse/SYNAPSE-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva resolved SYNAPSE-704.
-----------------------------------------

    Resolution: Fixed

Applied the patch. Many thanks Sameera for the contribution.

> 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
>
>         Attachments: patch-SYNAPSE-704.txt
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org