Package com.amazon.sqs.javamessaging
Class SQSQueueDestination
- java.lang.Object
-
- com.amazon.sqs.javamessaging.SQSQueueDestination
-
- All Implemented Interfaces:
javax.jms.Destination,javax.jms.Queue
public class SQSQueueDestination extends Object implements javax.jms.Destination, javax.jms.Queue
A SQSQueueDestination object encapsulates a queue name and SQS specific queue URL. This is the way a client specifies the identity of a queue to JMS API methods.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetQueueName()Returns the name of this queue.StringgetQueueUrl()Returns the queueUrl of this queue.inthashCode()booleanisFifo()StringtoString()
-
-
-
Method Detail
-
getQueueName
public String getQueueName() throws javax.jms.JMSException
Returns the name of this queue.- Specified by:
getQueueNamein interfacejavax.jms.Queue- Returns:
- queueName
- Throws:
javax.jms.JMSException
-
getQueueUrl
public String getQueueUrl()
Returns the queueUrl of this queue.- Returns:
- queueUrl
-
isFifo
public boolean isFifo()
-
toString
public String toString()
-
-