-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/product-micro-integrator#3002
- Loading branch information
1 parent
41ccbee
commit 42f4101
Showing
4 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters