Skip to content

Simple example client for writing and reading to and from an AWS managed SQS server, written in Java.

Notifications You must be signed in to change notification settings

EvergenEnergy/oem-api.example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java example SQS client

This is a simple example client for writing and reading to and from an AWS managed SQS server, written in Java.

This example code has been sourced from the AWS documentation for interacting with SQS queues in Java.

Getting Started

Installation pre-requisites for running this demo are:

  • Java
  • Maven build and project management tool
  • Docker for running local demo
  • AWS CLI
  • Make for using the pre-built make file

Additionally, you will need to configure your LocalStack after installation. This is done with the command:

aws configure --profile localstack

Then enter your settings as follows:

AWS Access Key ID: 123
AWS Secret Access Key: 123
Default region name: ap-southeast-2
Default output format:

Running the Demo

Once all the installations are complete and the localstack profile has been configured you can run the demo using

make demo

This will:

  • Run the localstack SQS server in Docker
  • Install necessary packages
  • Run either the local or remote demo depending on which function is called in the main function of the App

About

Simple example client for writing and reading to and from an AWS managed SQS server, written in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •