AbstractAzureMessageConverter<I,O>.fromMessage(Message<?> message, Class<O> targetClass) Method

Definition

Convert the payload of a Message from a serialized form to a typed Object of the specified target class.

public O fromMessage(Message<?> message, Class<O> targetClass)

Parameters

message
org.springframework.messaging.Message<?>
targetClass
java.lang.Class<O>

Returns

O

Applies to