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 2009/09/30 09:24:32 UTC

[jira] Commented: (SYNAPSE-586) Implement a Fall Back Mechanism to Handle Failures that Occur When Accessing the Remote Registry

    [ https://issues.apache.org/jira/browse/SYNAPSE-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760858#action_12760858 ] 

Hiranya Jayathilaka commented on SYNAPSE-586:
---------------------------------------------

The above described proposal has been implemented in the trunk and the 1.3 branch. Now when an exception occurs while accessing the registry, previously cached values of the resources will be used (if such values are available in the local cache). Warnings are logged as appropriately to alert the user regarding the registry outage/failure. When the registry comes back on-line Synapse would continue to fetch resources from the registry and cache them locally as it usually does.

> Implement a Fall Back Mechanism to Handle Failures that Occur When Accessing the Remote Registry
> ------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-586
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-586
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.3, NIGHTLY
>         Environment: Any
>            Reporter: Hiranya Jayathilaka
>            Assignee: Hiranya Jayathilaka
>             Fix For: 1.3
>
>
> Currently when Synapse tries to load a resource from the remote registry and if it encounters an error the mediations would fail in the ESB. It would be more appropriate to handle such errors gracefully and fall back to an alternative approach. I propose that when Synapse attempts to load a resource from the remote registry, and if it fails, Synapse should log a warning and continue to use the previously cached resource value. (of course at least the first registry lookup for the particular resource must have succeeded for this to work)

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