Class ActiveMQQueue
- java.lang.Object
-
- org.apache.activemq.artemis.jndi.JNDIStorable
-
- org.apache.activemq.artemis.jms.client.ActiveMQDestination
-
- org.apache.activemq.artemis.jms.client.ActiveMQQueue
-
- All Implemented Interfaces:
Destination,Queue,Serializable,Referenceable
- Direct Known Subclasses:
ActiveMQTemporaryQueue
public class ActiveMQQueue extends ActiveMQDestination implements Queue
ActiveMQ Artemis implementation of a JMS Queue.
This class can be instantiated directly.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.activemq.artemis.jms.client.ActiveMQDestination
ActiveMQDestination.TYPE
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.jms.client.ActiveMQDestination
QUEUE_QUALIFIED_PREFIX, TEMP_QUEUE_QUALIFED_PREFIX, TEMP_TOPIC_QUALIFED_PREFIX, TOPIC_QUALIFIED_PREFIX
-
-
Constructor Summary
Constructors Constructor Description ActiveMQQueue()ActiveMQQueue(String address)ActiveMQQueue(String address, boolean temporary)ActiveMQQueue(String address, boolean temporary, ActiveMQSession session)ActiveMQQueue(String address, String name)Deprecated.ActiveMQQueue(SimpleString address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetQueueName()Gets the name of this queue.inthashCode()StringtoString()Returns a string representation of this object.-
Methods inherited from class org.apache.activemq.artemis.jms.client.ActiveMQDestination
buildFromProperties, createDestination, createDestination, createQueue, createQueue, createQueue, createQueueAddressFromName, createQueueNameForSharedSubscription, createQueueNameForSubscription, createTemporaryQueue, createTemporaryQueue, createTemporaryQueue, createTemporaryQueue, createTemporaryTopic, createTemporaryTopic, createTemporaryTopic, createTemporaryTopic, createTopic, createTopic, createTopic, createTopicAddressFromName, decomposeQueueNameForDurableSubscription, delete, fromPrefixed1XName, fromPrefixedName, fromPrefixedName, getAddress, getName, getQueueAttributes, getQueueConfiguration, getSimpleAddress, getType, isCreated, isQueue, isTemporary, populateProperties, setAddress, setCreated, setSimpleAddress
-
Methods inherited from class org.apache.activemq.artemis.jndi.JNDIStorable
getReference, readObject, writeObject
-
-
-
-
Constructor Detail
-
ActiveMQQueue
public ActiveMQQueue()
-
ActiveMQQueue
public ActiveMQQueue(String address)
-
ActiveMQQueue
public ActiveMQQueue(SimpleString address)
-
ActiveMQQueue
@Deprecated public ActiveMQQueue(String address, String name)
Deprecated.
-
ActiveMQQueue
public ActiveMQQueue(String address, boolean temporary)
-
ActiveMQQueue
public ActiveMQQueue(String address, boolean temporary, ActiveMQSession session)
- Parameters:
address-temporary-session-
-
-
Method Detail
-
getQueueName
public String getQueueName()
Description copied from interface:QueueGets the name of this queue.Clients that depend upon the name are not portable.
- Specified by:
getQueueNamein interfaceQueue- Returns:
- the queue name
-
toString
public String toString()
Description copied from interface:QueueReturns a string representation of this object.- Specified by:
toStringin interfaceQueue- Overrides:
toStringin classActiveMQDestination- Returns:
- the provider-specific identity values for this queue
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classActiveMQDestination
-
hashCode
public int hashCode()
- Overrides:
hashCodein classActiveMQDestination
-
-