[
https://issues.apache.org/jira/browse/SYNAPSE-718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ranga Siriwardena updated SYNAPSE-718:
--------------------------------------
Attachment: patch2.diff
Patch file for supporting both static and dynamic registry keys with Validate
Mediators. This improvement is same as above XSLT mediator improvement and with
this, Validate mediator will able to support both static and dynamic keys.
> Supporting Dynamic registry keys in Mediators
> ---------------------------------------------
>
> Key: SYNAPSE-718
> URL: https://issues.apache.org/jira/browse/SYNAPSE-718
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.1
> Environment: OS - Linux
> Reporter: Ranga Siriwardena
> Attachments: patch.diff, patch2.diff
>
>
> Currently synapse supporting only static registry keys with mediators. For an
> example, XSLT Mediators only allows static keys when creating the mediator.
> With this patch synapse will able to provide support for dynamic keys like
> xpath expressions. In that case user will able to use XPath kind of approach
> to dynamically generate the key instead of a static key.
> With the improvement synapse supports both static and dynamic keys as in
> following example.
> <!-- using static key --->
> <xslt key="xslt-key-req"/>
> <!-- using Dynamic key -->
> <xslt key={xpathExpressionToEvaluateKey } />
> Also with this improvement XSLT Mediators will able to support multiple
> template caching.
--
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: [email protected]
For additional commands, e-mail: [email protected]