Class XPathPayloadMappingKeyExtractor

  • All Implemented Interfaces:
    com.consol.citrus.endpoint.adapter.mapping.MappingKeyExtractor

    public class XPathPayloadMappingKeyExtractor
    extends com.consol.citrus.endpoint.adapter.mapping.AbstractMappingKeyExtractor
    Extracts predicate from message payload via XPath expression evaluation.
    Since:
    1.4
    Author:
    Christoph Deppisch
    • Constructor Detail

      • XPathPayloadMappingKeyExtractor

        public XPathPayloadMappingKeyExtractor()
    • Method Detail

      • getMappingKey

        public String getMappingKey​(com.consol.citrus.message.Message request)
        Specified by:
        getMappingKey in class com.consol.citrus.endpoint.adapter.mapping.AbstractMappingKeyExtractor
      • setXpathExpression

        public void setXpathExpression​(String xpathExpression)
        Sets the xpath expression to evaluate.
        Parameters:
        xpathExpression -
      • setNamespaceContextBuilder

        public void setNamespaceContextBuilder​(com.consol.citrus.xml.namespace.NamespaceContextBuilder namespaceContextBuilder)
        Sets the namespace context builder for this extractor.
        Parameters:
        namespaceContextBuilder -