Interface ScriptPayloadBuilder

    • Field Detail

      • LOG

        static final org.slf4j.Logger LOG
        Logger
      • TYPE_RESOLVER

        static final TypeResolver TYPE_RESOLVER
        Type resolver to find custom message processors on classpath via resource path lookup
    • Method Detail

      • lookup

        static <T extends ScriptPayloadBuilderOptional<T> lookup​(String type)
        Resolves processor from resource path lookup with given processor resource name. Scans classpath for processor meta information with given name and returns instance of processor. Returns optional instead of throwing exception when no processor could be found.
        Parameters:
        type -
        Returns:
      • setScript

        void setScript​(String script)
      • setFile

        void setFile​(org.springframework.core.io.Resource file)