Skip to content
Advertisement

Tag: amazon-sqs

How the function changeMessageVisibility of sqs message extends the visibility time?

In its documentation of ChangeMessageVisibility function, Amazon gives the following example: For example, you have a message with a visibility timeout of 5 minutes. After 3 minutes, you call ChangeMessageVisibility with a timeout of 10 minutes. You can continue to call ChangeMessageVisibility to extend the visibility timeout to the maximum allowed time. If you try to extend the visibility timeout

SQS FIFO Using MessageGroupId to receive message

How do I use the messagegroupid parameter to only receive queue messages tagged with the id I need? I’ve been trying to use the line below to retrieve but it will always receive all the queue messages from other group id as well. List<Message> messages = sqs.receiveMessage(receiveMessageRequest.withAttributeNames(“MessageGroupId”)).getMessages(); What should be the correct way to do it? Answer The ReceiveMessageRequest is

How to connect to SQS queue

I have created several SQS queues in the management console. All the queues have full access permission (Allow – Everybody – All SQS Actions) I have created necessary credentials and can connect to AWS. Now I am trying to connect to created queues: But nothing is displayed. At the same time, if I create queue programatically: It is listed and

Advertisement