public class SetPayloadMessageProcessor extends SimpleMessageProcessor
Message according to the provided value.ReactiveProcessor.ProcessingTypemuleContext| Constructor and Description |
|---|
SetPayloadMessageProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise() |
Event |
process(Event event)
Invokes the MessageProcessor.
|
void |
setDataType(org.mule.runtime.api.metadata.DataType dataType) |
void |
setEncoding(String encoding) |
void |
setMimeType(String mimeType) |
void |
setValue(String value) |
setMuleContextgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProcessingTypepublic Event process(Event event) throws org.mule.runtime.api.exception.MuleException
Processorevent - MuleEvent to be processedorg.mule.runtime.api.exception.MuleExceptionpublic void setMimeType(String mimeType)
public void setEncoding(String encoding)
public void setDataType(org.mule.runtime.api.metadata.DataType dataType)
public void setValue(String value)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.