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 boolean
equals(Object obj)
String
getQueueName()
Returns the name of this queue.String
getQueueUrl()
Returns the queueUrl of this queue.int
hashCode()
boolean
isFifo()
String
toString()
-
-
-
Method Detail
-
getQueueName
public String getQueueName() throws javax.jms.JMSException
Returns the name of this queue.- Specified by:
getQueueName
in 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()
-
-