Class SQSQueueDestination

java.lang.Object
com.amazon.sqs.javamessaging.SQSQueueDestination
All Implemented Interfaces:
jakarta.jms.Destination, jakarta.jms.Queue

public class SQSQueueDestination extends Object implements jakarta.jms.Destination, jakarta.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 Details

    • getQueueName

      public String getQueueName()
      Returns the name of this queue.
      Specified by:
      getQueueName in interface jakarta.jms.Queue
      Returns:
      queueName
    • getQueueUrl

      public String getQueueUrl()
      Returns the queueUrl of this queue.
      Returns:
      queueUrl
    • isFifo

      public boolean isFifo()
    • toString

      public String toString()
      Specified by:
      toString in interface jakarta.jms.Queue
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object