-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SQS module @SnsNotificationMessage batch messages support #1133
base: main
Are you sure you want to change the base?
Conversation
09ca31f
to
d1cdf70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks great @wmz7year, thanks!
Would you mind adding an entry in the docs for it?
Thanks!
@tomazfernandes I've added the doc description for this, please check it out. And if everything is okay, I'll rebase it into a single commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work with the docs @wmz7year! Just a couple of nits and we should be ready to go.
docs/src/main/asciidoc/sqs.adoc
Outdated
|
||
The @SnsNotificationMessage annotation can be used for both single and batch message processing. | ||
|
||
For single message processing, you can use the @SnsNotificationMessage annotation as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We avoid using you
and and use a more formal tone instead.
So maybe something like the @SnsNotificationMessage annotation can be used as follows:
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
docs/src/main/asciidoc/sqs.adoc
Outdated
@@ -626,6 +631,16 @@ public void listen(@SnsNotificationMessage Pojo pojo) { | |||
} | |||
---- | |||
|
|||
For batch message processing, you can use the @SnsNotificationMessage annotation with a List<Pojo> parameter: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here about using you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, check it out again plz.
馃摙 Type of change
馃摐 Description
see: #1129
馃挕 Motivation and Context
馃挌 How did you test it?
馃摑 Checklist
馃敭 Next steps