@Deprecated @ComponentProfile(summary="MessageWrapper implementation wraps a metadata value as an Outputstream", since="3.9.0") @ConfigDeprecated(removalVersion="4.0.0", message="Use metadata-stream-output instead", groups=java.lang.Deprecated.class) public class MetadataOutputStreamWrapper extends MetadataStreamParameter 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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
wrap(InterlokMessage m)
Deprecated.
|
charset, getContentEncoding, getMetadataKey, setContentEncoding, setMetadataKey, toInputStream, withContentEncoding, withMetadataKey
public java.io.OutputStream wrap(InterlokMessage m) throws java.lang.Exception
wrap
in interface MessageWrapper<java.io.OutputStream>
java.lang.Exception