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:
Destination,Topic,Serializable,Referenceable
- Direct Known Subclasses:
ActiveMQTemporaryTopic
ActiveMQ Artemis implementation of a JMS Topic.
This class can be instantiated directly.
- See Also:
-
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
ConstructorsModifierConstructorDescriptionActiveMQTopic(String address) ActiveMQTopic(String address, boolean temporary) protectedActiveMQTopic(String address, boolean temporary, ActiveMQSession session) ActiveMQTopic(String address, String name) Deprecated.ActiveMQTopic(SimpleString address) -
Method Summary
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, getCreated, getName, getQueueAttributes, getQueueConfiguration, getSimpleAddress, getType, isCreated, isQueue, isTemporary, populateProperties, setAddress, setCreated, setCreated, setSimpleAddress, setSimpleAddressMethods inherited from class org.apache.activemq.artemis.jndi.JNDIStorable
getReference, readObject, writeObject
-
Constructor Details
-
ActiveMQTopic
public ActiveMQTopic() -
ActiveMQTopic
-
ActiveMQTopic
-
ActiveMQTopic
Deprecated. -
ActiveMQTopic
-
ActiveMQTopic
-
-
Method Details
-
getTopicName
Description copied from interface:TopicGets the name of this topic.Clients that depend upon the name are not portable.
- Specified by:
getTopicNamein interfaceTopic- Returns:
- the topic name
-
toString
Description copied from interface:TopicReturns a string representation of this object.- Specified by:
toStringin interfaceTopic- Overrides:
toStringin classActiveMQDestination- Returns:
- the provider-specific identity values for this topic
-
equals
- Overrides:
equalsin classActiveMQDestination
-
hashCode
public int hashCode()- Overrides:
hashCodein classActiveMQDestination
-