protected final Message<?> buildConvertedMessage(Object payload, MessageHeaders headers, MimeType contentType) {
		return MessageBuilder.withPayload(payload).copyHeaders(headers).copyHeaders(
				Collections.singletonMap(MessageHeaders.CONTENT_TYPE,
						contentType)).build();
	}
Convenience method to construct a converted message

@param payload the converted payload
@param headers the existing message headers
@param contentType the value of the content-type header
@return the converted message
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/integration/bus/converter/AbstractFromMessageConverter.java