Example usage for Java org.springframework.messaging.converter MessageConverter fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | fromMessage(Message> message, Class> targetClass) Convert the payload of a Message from a serialized form to a typed Object of the specified target class. |
Class> | getClass() Returns the runtime class of this Object . |
Message> | toMessage(Object payload, @Nullable MessageHeaders headers) Create a Message whose payload is the result of converting the given payload Object to serialized form. |