open class GenericMessageConverter : SimpleMessageConverter
An extension of the SimpleMessageConverter that uses a ConversionService to convert the payload of the message to the requested type.
Return null if the conversion service cannot convert from the payload type to the requested type.
Author
Stephane Nicoll
Since
4.1
See Also
ConversionService
GenericMessageConverter()
Create a new instance with a default ConversionService. GenericMessageConverter(conversionService: ConversionService)
Create a new instance with the given ConversionService. |
open fun fromMessage(message: Message<*>, targetClass: Class<*>): Any |