Hello,
Possible enhancement?
When using MappingJackson2MessageConverter to convert payload to Message type I have noticed that in native mode MappingJackson2MessageConverter is failing when calling:
public final Message<?> toMessage(Object payload, @Nullable MessageHeaders headers) {
Only way to fix this is to provide reflection hints for class which is sent in method as Object payload.
Is this normal behaviour?
Related to awspring/spring-cloud-aws#856 providing Native hints for Spring Cloud AWS SQS integration.
I can provide example if needed.
Edit: Since it uses reflection under the hood it kinda makes sense that given class needs to be enabled for reflection?