Class JsltQueryToObjectMetadata

  • All Implemented Interfaces:
    JsltQuery

    @ComponentProfile(summary="Execute a JSLT query and store the resulting JsonNode as object metadata against the specified key.",
                      tag="jslt,transform,json",
                      since="3.12.0")
    public class JsltQueryToObjectMetadata
    extends JsltQueryImpl
    Evaluate a JSLT expression and store the resulting JsonNode as object metadata against the specified key.

    In the adapter configuration file this class is aliased as jslt-to-object-metadata which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • JsltQueryToObjectMetadata

        public JsltQueryToObjectMetadata()
    • Method Detail

      • evaluate

        public void evaluate​(com.fasterxml.jackson.databind.ObjectMapper mapper,
                             AdaptrisMessage msg)
                      throws java.lang.Exception
        Description copied from interface: JsltQuery
        Evaluate the expression against the message.
        Parameters:
        mapper - the ObjectMapper instance to use.
        msg - the AdaptrisMessage
        Throws:
        java.lang.Exception