$49

Getting started with SNS, SQS publishers and subscribers with Spring Boot, Spring Cloud AWS, and AWS Java SDK version 2. Provision SNS topics and SQS queues to run your Integration Tests with Testcontainers, Localstack and Docker - Complete Source Code

I want this!

Getting started with SNS, SQS publishers and subscribers with Spring Boot, Spring Cloud AWS, and AWS Java SDK version 2. Provision SNS topics and SQS queues to run your Integration Tests with Testcontainers, Localstack and Docker - Complete Source Code

Complete source code for:

https://tech.asimio.net/2024/11/19/spring-boot-sns-aws-java-sdk-spring-cloud-aws-starter.html

https://tech.asimio.net/2025/08/07/sns-sqs-spring-boot-integration-tests-provision-topics-queues-testcontainers-localstack.html

Getting started with SNS, SQS publishers and subscribers with Spring Boot 3.5.x, Spring Cloud AWS 3.4.x, and AWS Java SDK version 2.
Provision SNS topics, and subscriptions, provision SQS queues to run integration tests for your Spring Boot applications with Testcontainers, Localstack and Docker.

Your team uses Java, Spring Boot, and AWS SNS and/or SQS to write functional requirements.

Is the team running integration tests to verify that SQS, and SNS integration go as expected?

These Spring Boot applications' source code you'll get with this purchase could save your team one or two 2-weeks Sprints worth of time and costs by starting with a fully working code base.

What does the source code include?

Three applications:

  • A Spring Boot SNS Publisher Web Application that includes:

    1) A RESTful endpoint to publish SNS notifications.

    2) REST Assured-based Integration Tests classes using Testcontainers explicitly or through a custom JUnit 5 Extension to manage the Localstack Docker container lifecycle.

    3) REST response payload verification as well as message reception verification via SQS.

    4) Custom Spring TestExecutionListener and annotations to support provisioning the SNS topics, subscriptions, and the SQS queues used in the Integration Tests.
    Class-level support, Method-level annotations support similar to Spring Data JPA's @SqlGroup, @Sql.

    5) A custom Jupiter/JUnit 5 callback extension implementation to reuse the same Localstack Docker container across all integration test classes, helping your organization to reduce your tests suite execution time.
  • A Spring Boot SQS Listener/Subscriber Console Application that includes:

    1) SQS subscribers, one for SQS messages, another one for SNS notifications.

    2) Custom Spring TestExecutionListener and annotations to support provisioning the SNS topics, subscriptions, and the SQS queues used in the Integration Tests.
    Class-level support, Method-level annotations support similar to Spring Data JPA's @SqlGroup, @Sql.

    3) Integration Test classes that publish SQS messages and SNS notifications to verify the corresponding subscribers/listeners.

    4) A custom Jupiter/JUnit 5 callback extension implementation to reuse the same Localstack Docker container across all integration test classes, helping your organization to reduce your tests suite execution time.

  • A Spring Boot SQS Publisher Web Application that includes:

    1) A RESTful endpoint to publish SQS messages.

    2) REST Assured-based Integration Tests classes using Testcontainers explicitly or through a custom JUnit 5 Extension to manage the Localstack Docker container lifecycle.

    3) REST response payload verification as well as message reception verification via SQS.

    4) Custom Spring TestExecutionListener and annotations to support provisioning the SQS queues used in the Integration Tests.
    Class-level support, Method-level annotations support similar to Spring Data JPA's @SqlGroup, @Sql

    5) A custom Jupiter/JUnit 5 callback extension implementation to reuse the same Localstack Docker container across all integration test classes, helping your organization to reduce your tests suite execution time.


I want this!

A handful working Spring Boot applications source code that gets you started sending SNS notifications, publishing and consuming SQS messages with Spring Cloud AWS and AWS Java SDK version 2. Provision SNS topics, and SQS queues to run your Integration Tests with Testcontainers, Localstack and Docker

Size
68.8 KB