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

[jira] Created: (SYNAPSE-709) Fail-Over Endpoints Don't Switch Back to the Primary Endpoint After a Suspension

Fail-Over Endpoints Don't Switch Back to the Primary Endpoint After a Suspension
--------------------------------------------------------------------------------

                 Key: SYNAPSE-709
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-709
             Project: Synapse
          Issue Type: Bug
          Components: Endpoints
    Affects Versions: 1.2
            Reporter: Hiranya Jayathilaka
            Assignee: Hiranya Jayathilaka
             Fix For: FUTURE


Steps to reproduce: 

1. Start Synapse with sample 53 (fail-over endpoints) 
2. Send some messages and they will be sent to server 1 
3. Shutdown server1 and Synapse will start sending messages to server2 
4. Restart server1 and enable the endpoint1 (wait till it becomes active again or use JMX) 

Synapse will not start sending traffic to server1.

-- 
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


[jira] Resolved: (SYNAPSE-709) Fail-Over Endpoints Don't Switch Back to the Primary Endpoint After a Suspension

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka resolved SYNAPSE-709.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: FUTURE)
                   2.1

Fixed on the trunk (trunk only)

> Fail-Over Endpoints Don't Switch Back to the Primary Endpoint After a Suspension
> --------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-709
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-709
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.2
>            Reporter: Hiranya Jayathilaka
>            Assignee: Hiranya Jayathilaka
>             Fix For: 2.1
>
>
> Steps to reproduce: 
> 1. Start Synapse with sample 53 (fail-over endpoints) 
> 2. Send some messages and they will be sent to server 1 
> 3. Shutdown server1 and Synapse will start sending messages to server2 
> 4. Restart server1 and enable the endpoint1 (wait till it becomes active again or use JMX) 
> Synapse will not start sending traffic to server1.

-- 
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


[jira] Commented: (SYNAPSE-709) Fail-Over Endpoints Don't Switch Back to the Primary Endpoint After a Suspension

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933148#action_12933148 ] 

Hiranya Jayathilaka commented on SYNAPSE-709:
---------------------------------------------

I have introduced a new attribute called "dynamic" to the failover endpoint which is set to true by default. With this the failover endpoint will switch back to the primary endpoint as soon as it becomes available after an error. One can set dynamic=false to get the old static behavior.

> Fail-Over Endpoints Don't Switch Back to the Primary Endpoint After a Suspension
> --------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-709
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-709
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.2
>            Reporter: Hiranya Jayathilaka
>            Assignee: Hiranya Jayathilaka
>             Fix For: 2.1
>
>
> Steps to reproduce: 
> 1. Start Synapse with sample 53 (fail-over endpoints) 
> 2. Send some messages and they will be sent to server 1 
> 3. Shutdown server1 and Synapse will start sending messages to server2 
> 4. Restart server1 and enable the endpoint1 (wait till it becomes active again or use JMX) 
> Synapse will not start sending traffic to server1.

-- 
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