@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
.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.
log
Constructor and Description |
---|
FileInputMessageWrapper() |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
wrap(InterlokMessage m) |
getDestination, setDestination, url, withDestination
public java.io.InputStream wrap(InterlokMessage m) throws java.lang.Exception
wrap
in interface MessageWrapper<java.io.InputStream>
java.lang.Exception