Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support invalidating connections when related local entry changed #2115

Merged
merged 1 commit into from
Nov 10, 2023

Commits on Nov 10, 2023

  1. Support invalidating connections when related local entry changed

    I introduced an enhancement to the way we handle connections
     in relation to local entries.A mechanism was established where the key
     associated with a localEntry is passed from the InvokeMediator
     to the TemplateMediator then further propagated to the TemplateContext,
     ensuring that the specific localEntry is accessible from connection handling code.
    
     With the availability of the localEntry key, each active connection(dynamic/static) has been
     bound to its respective localEntry in a map.
    
     So when a localEntry is undeployed or removed, this change is detected by
     the Synapse Observer, and the connections associated with that specific localEntry
     are invalidated.
    
     Fixes: wso2/micro-integrator#3002
    malakaganga committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    42f4101 View commit details
    Browse the repository at this point in the history