Class ActiveMQTopic
- java.lang.Object
-
- org.apache.activemq.artemis.jndi.JNDIStorable
-
- org.apache.activemq.artemis.jms.client.ActiveMQDestination
-
- org.apache.activemq.artemis.jms.client.ActiveMQTopic
-
- All Implemented Interfaces:
java.io.Serializable
,javax.jms.Destination
,javax.jms.Topic
,javax.naming.Referenceable
- Direct Known Subclasses:
ActiveMQTemporaryTopic
public class ActiveMQTopic extends ActiveMQDestination implements javax.jms.Topic
ActiveMQ Artemis implementation of a JMS Topic.
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 Modifier Constructor Description ActiveMQTopic()
ActiveMQTopic(java.lang.String address)
ActiveMQTopic(java.lang.String address, boolean temporary)
protected
ActiveMQTopic(java.lang.String address, boolean temporary, ActiveMQSession session)
ActiveMQTopic(java.lang.String address, java.lang.String name)
Deprecated.ActiveMQTopic(org.apache.activemq.artemis.api.core.SimpleString address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getTopicName()
int
hashCode()
java.lang.String
toString()
-
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
-
ActiveMQTopic
public ActiveMQTopic()
-
ActiveMQTopic
public ActiveMQTopic(java.lang.String address)
-
ActiveMQTopic
public ActiveMQTopic(org.apache.activemq.artemis.api.core.SimpleString address)
-
ActiveMQTopic
@Deprecated public ActiveMQTopic(java.lang.String address, java.lang.String name)
Deprecated.
-
ActiveMQTopic
public ActiveMQTopic(java.lang.String address, boolean temporary)
-
ActiveMQTopic
protected ActiveMQTopic(java.lang.String address, boolean temporary, ActiveMQSession session)
- Parameters:
address
-temporary
-session
-
-
-
Method Detail
-
getTopicName
public java.lang.String getTopicName()
- Specified by:
getTopicName
in interfacejavax.jms.Topic
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejavax.jms.Topic
- Overrides:
toString
in classActiveMQDestination
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classActiveMQDestination
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classActiveMQDestination
-
-