Skip to content

IntegrationObjectSupport.conversionService property has flipped access modifiers #3968

@chrylis

Description

@chrylis

In what version(s) of Spring Integration are you seeing this issue?

5.5.14

Describe the bug

In IntegrationObjectSupport, most of the properties have public setters (for external configuration) and protected getters. However, the conversionService property has this reversed: The setter is protected but the getter is public. I am wanting to externally set the conversionService on a channel adapter (specifically SNS, because I want to customize the JSON formatting but after the adapter has evaluated expressions against the payload POJO), but the property isn't visible unless I subclass it. Based on the other dependency properties, this appears to be a typo in the declarations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions