|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.json.JsonOutboundMessageMapper
public class JsonOutboundMessageMapper
OutboundMessageMapper
implementation the converts a Message
to a JSON string representation.
Constructor Summary | |
---|---|
JsonOutboundMessageMapper()
|
Method Summary | |
---|---|
java.lang.String |
fromMessage(Message<?> message)
|
void |
setObjectMapper(org.codehaus.jackson.map.ObjectMapper objectMapper)
|
void |
setShouldExtractPayload(boolean shouldExtractPayload)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonOutboundMessageMapper()
Method Detail |
---|
public void setObjectMapper(org.codehaus.jackson.map.ObjectMapper objectMapper)
public void setShouldExtractPayload(boolean shouldExtractPayload)
public java.lang.String fromMessage(Message<?> message) throws java.lang.Exception
fromMessage
in interface OutboundMessageMapper<java.lang.String>
java.lang.Exception
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |