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