Receiving messages from Amazon SQS in a Spring Boot applicationTech by Sunny Srinidhi - January 16, 2020January 24, 20200 In this post, we'll see how we can receive messages from an Amazon SQS queue in a Spring Boot application. This is a continuation of the previous post where we talked about how we can send messages to an SQS queue. The obvious next part of that is how do we receive those messages. So in this post, we'll do just that. If you don't have an Amazon SQS queue created already, checkout the previous post on how to do it. Here, I'll assume that you already have that pipeline setup. So I'm going to skip that part of the post. We'll jump right into the code. The Code The first thing we need to add in our Spring Boot application is the
Sending messages to Amazon SQS from a Spring Boot applicationTech by Sunny Srinidhi - January 14, 2020January 24, 20203 We're looking at yet another proof of concept (POC) application today. We're going to see how we can integrate Amazon SQS, which stands for Simple Queue Service into our Spring Boot application so that we can send messages to the queue. I'm going to use a few terms in this post which are influenced by Apache Kafka, because I come with extensive Kafka experience. However, I'm not going to compare Apache Kafka and Amazon SQS here. To clear things up, any service which sends a message to an SQS queue, I'll refer to such a service as the producer. And any service which receives a message from an SQS queue, I'll refer to that as the consumer. Now that we