Skip to main content

All Questions

2 votes
2 answers
4k views

SQSListener not consuming messages from queue

I cannot see the messages in the SQS queue being consumed by the @SqsListener import org.springframework.cloud.aws.messaging.listener.annotation.SqsListener; //others @Component public class Consumer{...
thevoyager's user avatar
1 vote
1 answer
637 views

Generating AWS SQS signature from java

I need to get message from AWS SQS with using Spring RestTemplate(binded a proxy), instead of aws sdk or spring cloud aws messaging, because of some proxy problem of the company. I need to generate a ...
simyaci's user avatar
  • 93
1 vote
1 answer
5k views

Java How to attach a file to AWS SQS Message?

I am new to AWS.I am trying to attach an object to AWS SQS Message (software.amazon.awssdk.services.sqs.model.Message) AWS Documentation on the matter is outdated (https://docs.aws.amazon.com/...
Rob G's user avatar
  • 143
6 votes
2 answers
15k views

AWS SQS: how do we consume message

I want to convert one of my synchronous API into asynchronous. And I believe queue are one way to do this. Like a publisher will push(synchronously) the message into queue which will be consumed by ...
Kuldeep Yadav's user avatar
1 vote
2 answers
4k views

Is it possible to dequeue a message from SQS AWS service even before it gets processed?

I just started using SQS service of AWS. Well, I do know that we can delete a process using its ReceiptHandle that we get when we receive a message but I want to delete a message when it is in a queue ...
Bhavay Anand's user avatar
6 votes
2 answers
23k views

Acknowledge message in SQS queue

I am using Amazon SQS with Amazon SQS-JMS java library with Java EE 7. What I want to achieve is after receiving a message, depending on business logic of the application either confirm (consume) the ...
Bojan Trajkovski's user avatar
0 votes
1 answer
4k views

How to properly send a message to amazon sqs queue with scala?

Iv seen this common-aws on github for how to use it, and this is their example(only for the sender cause this is what i need): import com.amazonaws.services.sqs.AmazonSQSAsyncClient import com....
jack miao's user avatar
  • 1,498
7 votes
2 answers
9k views

How to confirm delivery of Message to Amazon SQS Queue?

I am using AWS sdk for developing SQS based queue pub-sub. In the very basic prototype, I am pushing messages concurrently to a queue I have already created. However, how can I be sure that my ...
The-Proton-Resurgence's user avatar
1 vote
2 answers
2k views

Send confirmation email, SQS or SNS aws?

I have a web application where users can register to it. I need to send them a confirmation email (and eventually a sms), in this case would it better to use SQS with a beanstalk worker process or SNS ...
giò's user avatar
  • 3,542
8 votes
2 answers
11k views

Amazon SQS: The same message is consumed by two current consumers

I have four current consumers listening to the same queue on Amazon AWS. When pulling message down from the queue, it appears sometimes the same message is consumed by two different consumers. Please ...
Gary Xue's user avatar
  • 153
1 vote
1 answer
4k views

Amazon SQS: Get the Number of Consumers Listening on the Queue

I know that for ActiveMQ we can use JMX to retrieve information about connections to the queue. For Amazon SQS, how do we get the number of concurrent consumers listening on the queue?
Gary Xue's user avatar
  • 153
2 votes
2 answers
12k views

Amazon SQS Message Attributes

I am unable to properly add attributes. I'm using AWS 1.7 When I add them, they show in the message body, not the attributes. I can see this when I login to the AWS console. I add the message ...
user avatar
0 votes
1 answer
1k views

Realtime Executor Pool for Queue and Worker design

Rightnow, I'm trying to implement a queue-workers based design, where we receive millions of messages in queue. And workers are limited, so I'm using the following code assign work to workers. I'm ...
Kevindra's user avatar
  • 1,762
6 votes
3 answers
746 views

Hosted message queue for Java-based app in AWS us-east?

I'm looking for a message queue as a service that .. .. is hosted in AWS us-east .. offers real PubSub (not polling!) .. can be used in production .. offers high availability .. has a good client for ...
stephanos's user avatar
  • 3,339
18 votes
3 answers
17k views

SQS Messages Not Deleting

I have a small set of messages in an SQS queue, that are not deleted even though a deletion request sent to the AWS endpoint returns with a 200 response. The messages are processed by my application ...
DeejUK's user avatar
  • 13.6k