@ComponentProfile(summary="MessageWrapper implementation wraps a metadata value as an Outputstream", since="3.9.0") public class MetadataOutputStreamWrapper extends MetadataStreamOutputParameter implements MessageWrapper<java.io.OutputStream>
MessageWrapper
implementation wraps a metadata value as an OutputStream
.In the adapter configuration file this class is aliased as metadata-output-stream-wrapper which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
MetadataOutputStreamWrapper() |
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
wrap(InterlokMessage m) |
insert
charset, getContentEncoding, getMetadataKey, setContentEncoding, setMetadataKey, withContentEncoding, withMetadataKey
public java.io.OutputStream wrap(InterlokMessage m) throws java.lang.Exception
wrap
in interface MessageWrapper<java.io.OutputStream>
java.lang.Exception