|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.message.AbstractMessageMapper<T,T>
org.springframework.integration.message.SimplePayloadMessageMapper<T>
public class SimplePayloadMessageMapper<T>
A MessageMapper
implementation that simply wraps and unwraps a
payload object in a DocumentMessage
.
Constructor Summary | |
---|---|
SimplePayloadMessageMapper()
|
Method Summary | |
---|---|
T |
fromMessage(Message<T> message)
Return the payload of the given Message. |
Message<T> |
toMessage(T source)
Return a DocumentMessage with the given object as its payload. |
Methods inherited from class org.springframework.integration.message.AbstractMessageMapper |
---|
getUidGenerator, setUidGenerator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplePayloadMessageMapper()
Method Detail |
---|
public T fromMessage(Message<T> message)
public Message<T> toMessage(T source)
DocumentMessage
with the given object as its payload.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |