org.mule.transport.file
Class FileContentsMuleMessageFactory
java.lang.Object
org.mule.transport.AbstractMuleMessageFactory
org.mule.transport.file.FileMuleMessageFactory
org.mule.transport.file.FileContentsMuleMessageFactory
- All Implemented Interfaces:
- MuleMessageFactory
public class FileContentsMuleMessageFactory
- extends FileMuleMessageFactory
FileContentsMuleMessageFactory
converts the
InputStream
's content into a byte[]
as payload
for the MuleMessage
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileContentsMuleMessageFactory
public FileContentsMuleMessageFactory(MuleContext context)
getSupportedTransportMessageTypes
protected Class<?>[] getSupportedTransportMessageTypes()
- Overrides:
getSupportedTransportMessageTypes
in class FileMuleMessageFactory
extractPayload
protected Object extractPayload(Object transportMessage,
String encoding)
throws Exception
- Overrides:
extractPayload
in class FileMuleMessageFactory
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.