public class CopyAttachmentsTransformer extends AbstractMessageTransformer
encoding, endpoint, logger, mimeType, MULE_MESSAGE_DATA_TYPE, muleContext, name, returnType, sourceTypes
PHASE_NAME
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
CopyAttachmentsTransformer() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
initialise()
Template method where deriving classes can do any initialisation after the
properties have been set on this transformer
|
void |
setAttachmentName(String attachmentName) |
Object |
transformMessage(MuleMessage message,
String outputEncoding)
Transform the message
|
checkReturnClass, doTransform, isSourceDataTypeSupported, transform, transform, transform
dispose, generateTransformerName, getEncoding, getEncoding, getEndpoint, getMimeType, getName, getReturnClass, getReturnDataType, getSourceDataTypes, getSourceTypes, isAcceptNull, isAllowNullReturn, isConsumed, isIgnoreBadInput, isSourceDataTypeSupported, isSourceTypeSupported, isSourceTypeSupported, process, registerSourceType, registerSourceType, setAllowNullReturn, setEncoding, setEndpoint, setIgnoreBadInput, setMimeType, setMuleContext, setName, setReturnClass, setReturnDataType, toString, transform, unregisterSourceType, unregisterSourceType
getAnnotation, getAnnotations, setAnnotations
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEncoding, getEndpoint, getMimeType, getReturnClass, getReturnDataType, getSourceDataTypes, getSourceTypes, isAcceptNull, isIgnoreBadInput, isSourceDataTypeSupported, isSourceTypeSupported, setReturnClass, setReturnDataType, transform
process
dispose
setName
getName
setMuleContext
setEndpoint
public void initialise() throws InitialisationException
AbstractTransformer
initialise
in interface Initialisable
initialise
in class AbstractTransformer
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic Object transformMessage(MuleMessage message, String outputEncoding) throws TransformerException
AbstractMessageTransformer
transformMessage
in class AbstractMessageTransformer
TransformerException
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void setAttachmentName(String attachmentName)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.