public class RmiMessageAdapter extends AbstractMessageAdapter
ThreadSafeAccess.AccessControl
attachments, encoding, exceptionPayload, id, logger, properties
READ, WRITE
Modifier | Constructor and Description |
---|---|
|
RmiMessageAdapter(Object message) |
protected |
RmiMessageAdapter(RmiMessageAdapter template) |
Modifier and Type | Method and Description |
---|---|
Object |
getPayload() |
String |
getPayloadAsString(String encoding)
Converts the message implementation into a String representation
|
ThreadSafeAccess |
newThreadCopy() |
addAttachment, addInboundProperties, addProperties, addProperties, assertAccess, clearProperties, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, getUniqueId, isDisabled, newException, release, removeAttachment, removeProperty, resetAccessControl, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setProperty, setReplyTo, setStringProperty, toString
public RmiMessageAdapter(Object message) throws MessageTypeNotSupportedException
MessageTypeNotSupportedException
protected RmiMessageAdapter(RmiMessageAdapter template)
public String getPayloadAsString(String encoding) throws Exception
encoding
- The encoding to use when transforming the message (if
necessary). The parameter is used when converting from a byte arrayException
- Implementation may throw an endpoint specific exceptionpublic Object getPayload()
public ThreadSafeAccess newThreadCopy()
AbstractMessageAdapter
newThreadCopy
in interface ThreadSafeAccess
newThreadCopy
in class AbstractMessageAdapter
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.