You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Reference documentation mentions that when we receive SNS messages through the @SqsListener, the message includes all attributes of the SnsNotification. However, the attributes are not passed to message headers.
Sample
Having an SQS queue that is subscribed to SNS topic (raw message delivery is disabled), when sending to SNS via snsTemplate as following
Type: Bug
Component: SNS, SQS
Description
Reference documentation mentions that when we receive SNS messages through the
@SqsListener
, the message includes all attributes of theSnsNotification
. However, the attributes are not passed to message headers.Sample
Having an SQS queue that is subscribed to SNS topic (raw message delivery is disabled), when sending to SNS via
snsTemplate
as followingand receiving the message via
@SqsListener
as followingthen null is printed instead of "attribute-value".
The same effect is seen when receiving as following
Am I missing something? Is there a way I can access the attributes (I did not find direct information in the documentation).
The text was updated successfully, but these errors were encountered: