Skip to content

zyunfeng/spring-boot-starter-aws-sqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS SQS integration with Spring Boot

License

Features

  • Automatically configures and runs the AWS SQS with @AwsTemplate
  • Supports configuring multiple queues, each queue will auto created the bean named @AliasAwsTemplate

Usage

To add a dependency using Maven, use the following:

<dependency>
    <groupId>com.example</groupId>
    <artifactId>spring-boot-starter-aws-sqs</artifactId>
    <version>0.0.1</version>
</dependency>

Configure the .yml file as follows:

aws:
  sqs:
    enabled: true # Feature enabled
    region: us-east-1 # Region of the sqs service
    queues: # Multiple queues as list
      - name: MyQueueTest # QueueName
        alias: myQueueTest # QueueAlias used to create different beans
        max-number-of-messages: 5 # Max number when receive Messages
        wait-time-seconds: 20 # Wait time seconds when long polling messages

Example-Projects

Read more about our example projects here.

About

AWS SQS integration with Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages