Skip to content

Default addition of "org.springframework.integration.history" to trusted packages of DefaultKafkaHeaderMapper #3734

@dsingh-harp

Description

@dsingh-harp

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions