public class FileContentsMuleMessageFactory extends FileMuleMessageFactory
FileContentsMuleMessageFactory converts the
InputStream's content into a byte[] as payload
for the MuleMessage.| Constructor and Description |
|---|
FileContentsMuleMessageFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
extractPayload(Object transportMessage,
String encoding) |
protected Class<?>[] |
getSupportedTransportMessageTypes() |
addProperties, convertToFile, getMimeType, setPropertiesFromFileprotected Class<?>[] getSupportedTransportMessageTypes()
getSupportedTransportMessageTypes in class FileMuleMessageFactoryprotected Object extractPayload(Object transportMessage, String encoding) throws Exception
extractPayload in class FileMuleMessageFactoryExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.