Class FileOutputMessageWrapper

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

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

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

    • Constructor Detail

      • FileOutputMessageWrapper

        public FileOutputMessageWrapper()
    • Method Detail

      • wrap

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