You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Kasun Indrasiri (JIRA)" <ji...@apache.org> on 2010/08/14 17:43:16 UTC

[jira] Created: (SYNAPSE-677) Supporting fail-safe mode for Proxy Services and Endpoints

Supporting fail-safe mode for Proxy Services and Endpoints
----------------------------------------------------------

                 Key: SYNAPSE-677
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-677
             Project: Synapse
          Issue Type: Improvement
          Components: Core
            Reporter: Kasun Indrasiri


In the current synapse implementation, if a proxy service is failed during the deployment or config building (MultiXMLConfigurationBuilder), then the Synapse cannot be stared. Also with Endpoints(eg.WSDL), which are failed during the config building, then Synapse goes in to a state where we cannot start it. 

We can add a config parameter to synapse.properties, to enable/disable fail-safe mode for Endpoints and Proxy Services. 

-- 
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] Updated: (SYNAPSE-677) Supporting fail-safe mode for Proxy Services and Endpoints

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

Kasun Indrasiri updated SYNAPSE-677:
------------------------------------

    Attachment: new_SYNAPSE-677.patch

Hi Rajika,

I have modified the patch with the suggested improvements. Will provide a separate patch documentation on this feature.

Thanks
Kasun

> Supporting fail-safe mode for Proxy Services and Endpoints
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-677
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-677
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kasun Indrasiri
>         Attachments: new_SYNAPSE-677.patch, SYNAPSE-677.patch
>
>
> In the current synapse implementation, if a proxy service is failed during the deployment or config building (MultiXMLConfigurationBuilder), then the Synapse cannot be stared. Also with Endpoints(eg.WSDL), which are failed during the config building, then Synapse goes in to a state where we cannot start it. 
> We can add a config parameter to synapse.properties, to enable/disable fail-safe mode for Endpoints and Proxy Services. 

-- 
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-677) Supporting fail-safe mode for Proxy Services and Endpoints

Posted by "Rajika Kumarasiri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914348#action_12914348 ] 

Rajika Kumarasiri commented on SYNAPSE-677:
-------------------------------------------

Kasun,
I had a brief look at the patch. It looks good. Couple of comments. 
1. It'd be good if we can move the failSafeProxyEnabled detecting logic into a utility method. So that we can reuse it.
2. Can you also provide the documentation for the patch as a separate patch ? 

Rajika

> Supporting fail-safe mode for Proxy Services and Endpoints
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-677
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-677
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kasun Indrasiri
>         Attachments: SYNAPSE-677.patch
>
>
> In the current synapse implementation, if a proxy service is failed during the deployment or config building (MultiXMLConfigurationBuilder), then the Synapse cannot be stared. Also with Endpoints(eg.WSDL), which are failed during the config building, then Synapse goes in to a state where we cannot start it. 
> We can add a config parameter to synapse.properties, to enable/disable fail-safe mode for Endpoints and Proxy Services. 

-- 
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] Assigned: (SYNAPSE-677) Supporting fail-safe mode for Proxy Services and Endpoints

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

Supun Kamburugamuva reassigned SYNAPSE-677:
-------------------------------------------

    Assignee: Supun Kamburugamuva

> Supporting fail-safe mode for Proxy Services and Endpoints
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-677
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-677
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kasun Indrasiri
>            Assignee: Supun Kamburugamuva
>         Attachments: new_SYNAPSE-677.patch, SYNAPSE-677.patch
>
>
> In the current synapse implementation, if a proxy service is failed during the deployment or config building (MultiXMLConfigurationBuilder), then the Synapse cannot be stared. Also with Endpoints(eg.WSDL), which are failed during the config building, then Synapse goes in to a state where we cannot start it. 
> We can add a config parameter to synapse.properties, to enable/disable fail-safe mode for Endpoints and Proxy Services. 

-- 
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] Updated: (SYNAPSE-677) Supporting fail-safe mode for Proxy Services and Endpoints

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

Kasun Indrasiri updated SYNAPSE-677:
------------------------------------

    Attachment: SYNAPSE-677.patch

Fail-safe mode can be enable by setting the following property in the synapse.properties file. (defaults to failsafe.mode.enable=all)

                failsafe.mode.enable=localentries,endpoints,proxyservices
		failsafe.mode.enable=all
		failsafe.mode.enable=none


> Supporting fail-safe mode for Proxy Services and Endpoints
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-677
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-677
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kasun Indrasiri
>         Attachments: SYNAPSE-677.patch
>
>
> In the current synapse implementation, if a proxy service is failed during the deployment or config building (MultiXMLConfigurationBuilder), then the Synapse cannot be stared. Also with Endpoints(eg.WSDL), which are failed during the config building, then Synapse goes in to a state where we cannot start it. 
> We can add a config parameter to synapse.properties, to enable/disable fail-safe mode for Endpoints and Proxy Services. 

-- 
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-677) Supporting fail-safe mode for Proxy Services and Endpoints

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

Supun Kamburugamuva resolved SYNAPSE-677.
-----------------------------------------

    Resolution: Fixed

Applied the patch. Many thanks Kasun for the contribution.

> Supporting fail-safe mode for Proxy Services and Endpoints
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-677
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-677
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kasun Indrasiri
>            Assignee: Supun Kamburugamuva
>         Attachments: new_SYNAPSE-677.patch, SYNAPSE-677.patch
>
>
> In the current synapse implementation, if a proxy service is failed during the deployment or config building (MultiXMLConfigurationBuilder), then the Synapse cannot be stared. Also with Endpoints(eg.WSDL), which are failed during the config building, then Synapse goes in to a state where we cannot start it. 
> We can add a config parameter to synapse.properties, to enable/disable fail-safe mode for Endpoints and Proxy Services. 

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