List of usage examples for org.springframework.integration.mapping BytesMessageMapper interface-usage
From source file org.springframework.integration.support.json.EmbeddedJsonHeadersMessageMapper.java
/**
* For outbound messages, uses a message-aware Jackson object mapper to render the message
* as JSON. For messages with {@code byte[]} payloads, if rendered as JSON, Jackson
* performs Base64 conversion on the bytes. If the {@link #setRawBytes(boolean) rawBytes}
* property is true (default), the result has the form
* <headersLen><headers><payloadLen><payload>; with the headers