Package org.apache.activemq.command
Class ActiveMQQueue
- java.lang.Object
-
- org.apache.activemq.jndi.JNDIBaseStorable
-
- org.apache.activemq.command.ActiveMQDestination
-
- org.apache.activemq.command.ActiveMQQueue
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Comparable<Object>
,Destination
,Queue
,Referenceable
,DataStructure
,JNDIStorableInterface
public class ActiveMQQueue extends ActiveMQDestination implements Queue
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static byte
DATA_STRUCTURE_TYPE
-
Fields inherited from class org.apache.activemq.command.ActiveMQDestination
COMPOSITE_SEPERATOR, compositeDestinations, destinationPaths, hashValue, IS_DLQ, isPattern, options, PATH_SEPERATOR, physicalName, QUEUE_QUALIFIED_PREFIX, QUEUE_TYPE, TEMP_DESTINATION_NAME_PREFIX, TEMP_MASK, TEMP_QUEUE_QUALIFED_PREFIX, TEMP_QUEUE_TYPE, TEMP_TOPIC_QUALIFED_PREFIX, TEMP_TOPIC_TYPE, TOPIC_QUALIFIED_PREFIX, TOPIC_TYPE, unresolvableDestinationTransformer
-
-
Constructor Summary
Constructors Constructor Description ActiveMQQueue()
ActiveMQQueue(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getDataStructureType()
byte
getDestinationType()
protected String
getQualifiedPrefix()
String
getQueueName()
boolean
isQueue()
-
Methods inherited from class org.apache.activemq.command.ActiveMQDestination
buildFromProperties, compare, compareTo, createDestination, createDestination, equals, getCompositeDestinations, getDestinationPaths, getDestinationTypeAsString, getOptions, getPhysicalName, getQualifiedName, getUnresolvableDestinationTransformer, hashCode, isComposite, isDLQ, isMarshallAware, isPattern, isTemporary, isTopic, populateProperties, readExternal, setCompositeDestinations, setDLQ, setPhysicalName, setUnresolvableDestinationTransformer, toString, transform, writeExternal
-
Methods inherited from class org.apache.activemq.jndi.JNDIBaseStorable
getProperties, getReference, setProperties
-
-
-
-
Field Detail
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ActiveMQQueue
public ActiveMQQueue()
-
ActiveMQQueue
public ActiveMQQueue(String name)
-
-
Method Detail
-
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureType
in interfaceDataStructure
- Returns:
- The type of the data structure
-
isQueue
public boolean isQueue()
- Overrides:
isQueue
in classActiveMQDestination
-
getQueueName
public String getQueueName() throws JMSException
- Specified by:
getQueueName
in interfaceQueue
- Throws:
JMSException
-
getDestinationType
public byte getDestinationType()
- Specified by:
getDestinationType
in classActiveMQDestination
-
getQualifiedPrefix
protected String getQualifiedPrefix()
- Specified by:
getQualifiedPrefix
in classActiveMQDestination
-
-