public interface SynapseXpathVariableResolver
This XPath Variable Resolver Interface must be implemented when resolving custom XPath
Variable contexts
Any xpath function that can't be resolved by SynapseXPathVariableContext
will be
delegated to this interface.
Users should implement this API to resolve custom variable contexts
ie:- expression="$Custom_Property_Scope:C_PROPERTY" OR expression="$CUSTOM_RESP/urn:child" , ...
Extensions can be registered in synapse.properties under synapse.xpath.var.extensions
SynapseXPathVariableContext
Modifier and Type | Method and Description |
---|---|
QName |
getResolvingQName()
Should Implement this API to return supported custom expression
|
Object |
resolve(MessageContext msgCtxt)
This method should implement the resolving code for custom xpath variable for the registered
QName given by #getResolvingQName().
|
Object resolve(MessageContext msgCtxt)
msgCtxt
- Synapse Message ContextQName getResolvingQName()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.