Package org.apache.activemq.command
Class ActiveMQTopic
- java.lang.Object
-
- org.apache.activemq.jndi.JNDIBaseStorable
-
- org.apache.activemq.command.ActiveMQDestination
-
- org.apache.activemq.command.ActiveMQTopic
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Comparable<Object>
,Destination
,Topic
,Referenceable
,DataStructure
,JNDIStorableInterface
public class ActiveMQTopic extends ActiveMQDestination implements Topic
- 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 ActiveMQTopic()
ActiveMQTopic(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getDataStructureType()
byte
getDestinationType()
protected String
getQualifiedPrefix()
String
getTopicName()
boolean
isTopic()
-
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, isQueue, isTemporary, 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
-
ActiveMQTopic
public ActiveMQTopic()
-
ActiveMQTopic
public ActiveMQTopic(String name)
-
-
Method Detail
-
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureType
in interfaceDataStructure
- Returns:
- The type of the data structure
-
isTopic
public boolean isTopic()
- Overrides:
isTopic
in classActiveMQDestination
-
getTopicName
public String getTopicName() throws JMSException
- Specified by:
getTopicName
in interfaceTopic
- Throws:
JMSException
-
getDestinationType
public byte getDestinationType()
- Specified by:
getDestinationType
in classActiveMQDestination
-
getQualifiedPrefix
protected String getQualifiedPrefix()
- Specified by:
getQualifiedPrefix
in classActiveMQDestination
-
-