void
|
addPermission(String label, List<String> accountIds, List<String> actions, String queueUrl)
Adds a permission to this message queue.
|
void
|
changeMessageVisibility(String receiptHandle, Integer visibilityTimeout, String queueUrl)
Changes the visibility timeout of a specified message in a queue to a new value.
|
ChangeMessageVisibilityBatchResult
|
changeMessageVisibilityBatch(List<ChangeMessageVisibilityBatchRequestEntry> receiptHandles, String queueUrl)
Changes the visibility timeout of multiple messages.
|
CreateQueueResult
|
createQueue(String queueName, RegionEndpoint region, Map<String, String> attributes)
Creates a new queue, or returns the URL of an existing one.
|
void
|
deleteMessage(String receiptHandle, String queueUrl)
Deletes the message identified by message object on the queue this object represents.
|
DeleteMessageBatchResult
|
deleteMessageBatch(List<DeleteMessageBatchRequestEntry> receiptHandles, String queueUrl)
Deletes up to ten messages from the specified queue.
|
void
|
deleteQueue(String queueUrl)
Deletes the message queue represented by this object.
|
int
|
getApproximateNumberOfMessages(String queueUrl)
Gets an approximate number of visible messages for a queue.
|
Config
|
getConfig()
|
GetQueueAttributesResult
|
getQueueAttributes(List<String> attributeNames, String queueUrl)
Gets queue attributes.
|
GetQueueUrlResult
|
getQueueUrl(String queueName, String queueOwnerAWSAccountId)
Returns the URL of an existing queue.
|
ListDeadLetterSourceQueuesResult
|
listDeadLetterSourceQueues(String queueUrl)
Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead letter queue.
|
ListQueuesResult
|
listQueues(String queueNamePrefix)
Returns a list of your queues.
|
void
|
purgeQueue(String queueUrl)
Deletes the messages in a queue specified by the queue URL.
|
void
|
receiveMessages(SourceCallback callback, Integer visibilityTimeout, Boolean preserveMessages, Integer numberOfMessages, String queueUrl)
Attempts to receive messages from a queue.
|
void
|
removePermission(String label, String queueUrl)
Removes a permission from this message queue.
|
SendMessageResult
|
sendMessage(String message, Integer delaySeconds, Map<String, Object> messageAttributes, String queueUrl)
Sends a message to a specified queue.
|
SendMessageBatchResult
|
sendMessageBatch(List<SendMessageBatchRequestEntry> messages, String queueUrl)
Delivers up to ten messages to the specified queue.
|
void
|
setConfig(Config config)
|
void
|
setQueueAttributes(Map<String, String> attributes, String queueUrl)
Sets the value of one or more queue attributes.
|