MessageConverter.fromMessage

Convert the payload of a {@link Message} from a serialized form to a typed Object of the specified target class. The {@link MessageHeaders#CONTENT_TYPE} header should indicate the MIME type to convert from. <p>If the converter does not support the specified media type or cannot perform the conversion, it should return {@code null}. @param message the input message @param targetClass the target class for the conversion @return the result of the conversion, or {@code null} if the converter cannot perform the conversion

interface MessageConverter
Object
fromMessage

Meta