Skip to content

SNSMessageHandle shows incorrect logs and error message #218

@rayedbajwa

Description

@rayedbajwa

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

For example:

2.5.3

Between 2.5.0 and 3.0.0

Logs are incorrect due to
https://github.com/spring-projects/spring-integration-aws/blob/main/src/main/java/org/springframework/integration/aws/support/AbstractMessageAttributesHeaderMapper.java#L49

Also, the Warning message is only SQS specific
https://github.com/spring-projects/spring-integration-aws/blob/main/src/main/java/org/springframework/integration/aws/support/AbstractMessageAttributesHeaderMapper.java#L109

To Reproduce

Use incorrect headers for the SNS message handler and it will show the above warning

Expected behavior

Should show correct logger class and error message (SNS specific)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions