Expected Behavior
By default, "org.springframework.integration.history" should be available to the trusted package of DefaultKafkaHeaderMapper.
Current Behavior
Message is not getting deserialized due to untrusted package(i.e "org.springframework.integration.history ")
Also raised a stack-overflow question i.e https://stackoverflow.com/questions/71305189/message-history-not-getting-deserialized
Context
What other alternatives have you considered?
Following are the alternatives that i considered
a) Defining a bean instance for DefaultKafkaHeaderMapper with the addTrustedPackages("*")
b) Defining a bean for "MessagingMessageConverter"
c) Setting "MessagingMessageConverter" with header mapper mentioned in a) for "ConcurrentKafkaListenerContainerFactory"
Are you aware of any workarounds?
No