Closed
Description
Describe the bug
The simple function registry checks whether a conversion hint is required in order to invoke the respective message converter. For the below input type, conversion happens without type. By using the default JSON converter, the message is deserialized to LinkedHashMap instead of the Java class for Event which is a generic type and Account list type.
Consumer<org.springframework.messaging.Message<Message<Event<List<Account>>>>>
Why don't you consider actualType for conversion if it has valid input here?
Sample
If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.