|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.providers.AbstractMessageAdapter
org.mule.providers.space.SpaceMessageAdapter
Wraps a JavaSpaces Entry object
| Field Summary |
| Fields inherited from class org.mule.providers.AbstractMessageAdapter |
attachments, encoding, exceptionPayload, logger, properties |
| Constructor Summary | |
SpaceMessageAdapter(Object message)
Creates a default message adapter with properties and attachments |
|
| Method Summary | |
Object |
getPayload()
|
byte[] |
getPayloadAsBytes()
Converts the message implementation into a byte array representation |
String |
getPayloadAsString(String encoding)
Converts the message implementation into a String representation |
String |
getUniqueId()
gets the unique identifier for the message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SpaceMessageAdapter(Object message)
throws MessageTypeNotSupportedException
message - the message to wrap. If this is null and NullPayload object
will be usedNullPayload| Method Detail |
public byte[] getPayloadAsBytes()
throws Exception
UMOMessageAdapter
Exception - Implemetation may throw an endpoint specific exception
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 array
Exception - Implementation may throw an endpoint specific exceptionpublic Object getPayload()
public String getUniqueId()
UMOMessageAdapter
getUniqueId in interface UMOMessageAdaptergetUniqueId in class AbstractMessageAdapter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||