org.skyscreamer.nevado.jms.connector
Interface SQSQueue

All Known Implementing Classes:
MockSQSQueue

public interface SQSQueue

Representation of an SQS Queue

Author:
Carter Page

Method Summary
 void deleteMessage(String sqsReceiptHandle)
           
 void deleteQueue()
           
 String getQueueARN()
           
 SQSMessage receiveMessage()
           
 String sendMessage(String serializedMessage)
           
 void setMessageVisibilityTimeout(String sqsReceiptHandle, int timeout)
           
 void setPolicy(String policy)
           
 

Method Detail

sendMessage

String sendMessage(String serializedMessage)
                   throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setMessageVisibilityTimeout

void setMessageVisibilityTimeout(String sqsReceiptHandle,
                                 int timeout)
                                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

getQueueARN

String getQueueARN()
                   throws javax.jms.JMSException
Throws:
javax.jms.JMSException

setPolicy

void setPolicy(String policy)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

deleteMessage

void deleteMessage(String sqsReceiptHandle)
                   throws javax.jms.JMSException
Throws:
javax.jms.JMSException

receiveMessage

SQSMessage receiveMessage()
                          throws javax.jms.JMSException
Throws:
javax.jms.JMSException

deleteQueue

void deleteQueue()
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException


Copyright © 2012. All Rights Reserved.