Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_POLICY |
static String |
ATTRIBUTE_QUEUE_ARN |
Constructor and Description |
---|
AmazonAwsSQSQueue(AmazonAwsSQSConnector amazonAwsSQSConnector,
String queueUrl) |
AmazonAwsSQSQueue(AmazonAwsSQSConnector amazonAwsSQSConnector,
String queueUrl,
boolean isAsync) |
Modifier and Type | Method and Description |
---|---|
void |
deleteMessage(String sqsReceiptHandle) |
void |
deleteQueue() |
String |
getQueueARN() |
AmazonAwsSQSMessage |
receiveMessage() |
String |
sendMessage(String serializedMessage) |
void |
setMessageVisibilityTimeout(String sqsReceiptHandle,
int timeout) |
void |
setPolicy(String policy) |
public static final String ATTRIBUTE_QUEUE_ARN
public static final String ATTRIBUTE_POLICY
public AmazonAwsSQSQueue(AmazonAwsSQSConnector amazonAwsSQSConnector, String queueUrl)
public AmazonAwsSQSQueue(AmazonAwsSQSConnector amazonAwsSQSConnector, String queueUrl, boolean isAsync)
public String sendMessage(String serializedMessage) throws javax.jms.JMSException
sendMessage
in interface SQSQueue
javax.jms.JMSException
public void setMessageVisibilityTimeout(String sqsReceiptHandle, int timeout) throws javax.jms.JMSException
setMessageVisibilityTimeout
in interface SQSQueue
javax.jms.JMSException
public String getQueueARN() throws javax.jms.JMSException
getQueueARN
in interface SQSQueue
javax.jms.JMSException
public void setPolicy(String policy) throws javax.jms.JMSException
public void deleteMessage(String sqsReceiptHandle) throws javax.jms.JMSException
deleteMessage
in interface SQSQueue
javax.jms.JMSException
public AmazonAwsSQSMessage receiveMessage() throws javax.jms.JMSException
receiveMessage
in interface SQSQueue
javax.jms.JMSException
public void deleteQueue() throws javax.jms.JMSException
deleteQueue
in interface SQSQueue
javax.jms.JMSException
Copyright © 2014. All Rights Reserved.