Add Spring Integration channel adapter for SQS - #1467
Merged
maciejwalkowiak merged 2 commits intoSep 14, 2025
Conversation
* The `SqsMessageHandler` is for producing Spring Integration to SQS. Uses `SqsAsyncOperations` internally. * The `SqsMessageDrivenChannelAdapter` is for consuming messages from SQS. Uses `SqsMessageListenerContainer` internally. * Added `SqsHeaders.MESSAGE_ID` constant to represent SQS send result's `messageId` attribute * Mark The `BaseSqsIntegrationTest` as `disabledWithoutDocker = true` to avoid unnecessary build failure * Add `spring-cloud-aws-starter-integration-sqs` to manage all the required dependencies for Spring Integration with SQS
artembilan
requested review from
MatejNedic,
maciejwalkowiak and
tomazfernandes
as code owners
September 12, 2025 21:31
tomazfernandes
approved these changes
Sep 12, 2025
tomazfernandes
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the PR, @artembilan!
Great to see you around, and nice to see Spring Integration coming over to the project.
Just spotted a couple of small typos in the docs, nothing blocking.
| } | ||
| ---- | ||
|
|
||
| The Spring Integration dependency in the `spring-cloud-aws-sqs` module is `optinal` to avoid unnecessary artifacts on classpath when Spring Integration is not used. |
| Starting with version 4.0, Spring Cloud AWS provides https://spring.io/projects/spring-integration[Spring Integration] channel adapters for Amazon SQS. | ||
|
|
||
| The `SqsMessageHandler` is for publishing a single message (or their batch) to SQS queue configured explicitly on the `SqsMessageHandler` or resolved via SpEL expression against the request message. | ||
| The logic of this `MessageHandler` is to consume Spring Integration messages from an `inputChannel` and internally it is heavily base on the `SqsAsyncOperations` mentioned above. |
Contributor
There was a problem hiding this comment.
typo: "heavily based"
Contributor
Author
|
Hey, Tomaz! I’ll give you guys time for more review until I push all the requested changes on Monday. |
Contributor
|
Just to save @artembilan time I fixed typos. Thanks folks! |
maciejwalkowiak
approved these changes
Sep 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SqsMessageHandleris for producing Spring Integration to SQS. UsesSqsAsyncOperationsinternally.SqsMessageDrivenChannelAdapteris for consuming messages from SQS. UsesSqsMessageListenerContainerinternally.SqsHeaders.MESSAGE_IDconstant to represent SQS send result'smessageIdattributeBaseSqsIntegrationTestasdisabledWithoutDocker = trueto avoid unnecessary build failurespring-cloud-aws-starter-integration-sqsto manage all the required dependencies for Spring Integration with SQS📢 Type of change
📜 Description
💡 Motivation and Context
💚 How did you test it?
📝 Checklist
🔮 Next steps