Class MediatorCustomVariable


  • public class MediatorCustomVariable
    extends MediatorVariable
    The value of the custom variable will be evaluated dynamically. The value is computed by extracting the data from the XML document which will lookup through the key or the current SOAP message.
    • Constructor Detail

      • MediatorCustomVariable

        public MediatorCustomVariable​(QName name)
    • Method Detail

      • evaluateValue

        public boolean evaluateValue​(org.apache.synapse.MessageContext synCtx)
        To assign a value to variable dynamically
        Specified by:
        evaluateValue in class MediatorVariable
        Parameters:
        synCtx - The current message context
        Returns:
        true if the value has changed
      • setExpression

        public void setExpression​(org.apache.synapse.util.xpath.SynapseXPath expression)
      • setRegKey

        public void setRegKey​(String regKey)
      • getRegKey

        public String getRegKey()
      • getExpression

        public org.apache.synapse.util.xpath.SynapseXPath getExpression()