public class AjaxMuleMessageFactory extends AbstractMuleMessageFactory
MuleMessageFactory implementation for JSON messages. The payload can either be a
Map or a JSON encoded String.
If the payload is a Map, this message factory will recognise the following keys:
Bayeux.DATA_FIELDAjaxConnector.REPLYTO_PARAM| Modifier and Type | Field and Description |
|---|---|
protected IsJsonFilter |
filter |
muleContext| Constructor and Description |
|---|
AjaxMuleMessageFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProperties(DefaultMuleMessage muleMessage,
Object transportMessage) |
protected Object |
extractPayload(Object transportMessage,
String encoding) |
protected Class<?>[] |
getSupportedTransportMessageTypes() |
addAttachments, create, create, create, create, createMessage, doCreate, getMimeType, validateMessageprotected transient IsJsonFilter filter
protected Class<?>[] getSupportedTransportMessageTypes()
getSupportedTransportMessageTypes in class AbstractMuleMessageFactoryprotected Object extractPayload(Object transportMessage, String encoding) throws Exception
extractPayload in class AbstractMuleMessageFactoryExceptionprotected void addProperties(DefaultMuleMessage muleMessage, Object transportMessage) throws Exception
addProperties in class AbstractMuleMessageFactoryExceptionCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.