Skip to content

Spring boot JMS application, uses ActiveMQ as a message broker. The log is recorded in the AWS s3 bucket

Notifications You must be signed in to change notification settings

IrynaUkr/springJMS_ActiveMQ_SNS_SQS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task AWS:JMS + SQS, SNS

Create demo applications that implement the following order processing flow.

  1. First application (OrderSender) reads the following order details from console and sends it to the order queue (orders):
  • The user who makes the order;
  • Type of goods for the order – liquids or countable item;
  • The volume of order for liquids;
  • Number of items for countable items;
  • Order total.
  1. Second application(OrderHandler) processes orders with the following rules:
  • If order total greater than some threshold – order should be rejected;
  • Summary information for accepted and rejected logs should be passed to other queues or topics.
  1. Third application(OrderLogger) logs summary about accepted and rejected orders into file.

Used message selectors to split orders for liquids and countable items. Used topics to implement message exchange. Added trigger to S3 bucket that will send message to SQS that file was changed.

ActiveMQ start server: go to the activeMQ folder, then find and go to the bin folder, and then use command:./activemq start

localhost:8161/admin by default credentials are username admin password admin

to stop server use command ./activemq stop

Sources:

About

Spring boot JMS application, uses ActiveMQ as a message broker. The log is recorded in the AWS s3 bucket

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages