SNSMessageHandle shows incorrect logs and error message
rayedbajwa opened this issue · 0 comments
rayedbajwa commented
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)