Class FileInputMessageWrapper

  • All Implemented Interfaces:
    MessageWrapper<java.io.InputStream>

    @ComponentProfile(summary="MessageWrapper implementation that wraps as an InputStream",
                      since="3.9.0")
    public class FileInputMessageWrapper
    extends FileParameter
    implements MessageWrapper<java.io.InputStream>
    MessageWrapper implementation that wraps an external file as an InputStream.
    Since:
    3.9.0

    In the adapter configuration file this class is aliased as file-input-message-wrapper which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • FileInputMessageWrapper

        public FileInputMessageWrapper()
    • Method Detail

      • wrap

        public java.io.InputStream wrap​(InterlokMessage m)
                                 throws java.lang.Exception
        Specified by:
        wrap in interface MessageWrapper<java.io.InputStream>
        Throws:
        java.lang.Exception