Class JsonOutboundMessageMapper
java.lang.Object
org.springframework.integration.support.json.JsonOutboundMessageMapper
- All Implemented Interfaces:
- OutboundMessageMapper<String>
OutboundMessageMapper implementation the converts a Message to a JSON
 string representation.
 
 Consider using the EmbeddedJsonHeadersMessageMapper instead; it provides more
 flexibility for determining which headers are included.
- Since:
- 2.0
- Author:
- Jeremy Grelle, Mark Fisher, Artem Bilan, Gary Russell
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfromMessage(Message<?> message) voidsetShouldExtractPayload(boolean shouldExtractPayload) 
- 
Constructor Details- 
JsonOutboundMessageMapperpublic JsonOutboundMessageMapper()
- 
JsonOutboundMessageMapper
 
- 
- 
Method Details- 
setShouldExtractPayloadpublic void setShouldExtractPayload(boolean shouldExtractPayload) 
- 
fromMessage- Specified by:
- fromMessagein interface- OutboundMessageMapper<String>
 
 
-