Class ActiveMQTopic

All Implemented Interfaces:
Destination, Topic, Serializable, Referenceable
Direct Known Subclasses:
ActiveMQTemporaryTopic

public class ActiveMQTopic extends ActiveMQDestination implements Topic
ActiveMQ Artemis implementation of a JMS Topic.

This class can be instantiated directly.

See Also:
  • Constructor Details

    • ActiveMQTopic

      public ActiveMQTopic()
    • ActiveMQTopic

      public ActiveMQTopic(String address)
    • ActiveMQTopic

      public ActiveMQTopic(SimpleString address)
    • ActiveMQTopic

      @Deprecated public ActiveMQTopic(String address, String name)
      Deprecated.
    • ActiveMQTopic

      public ActiveMQTopic(String address, boolean temporary)
    • ActiveMQTopic

      protected ActiveMQTopic(String address, boolean temporary, ActiveMQSession session)
  • Method Details

    • getTopicName

      public String getTopicName()
      Description copied from interface: Topic
      Gets the name of this topic.

      Clients that depend upon the name are not portable.

      Specified by:
      getTopicName in interface Topic
      Returns:
      the topic name
    • toString

      public String toString()
      Description copied from interface: Topic
      Returns a string representation of this object.
      Specified by:
      toString in interface Topic
      Overrides:
      toString in class ActiveMQDestination
      Returns:
      the provider-specific identity values for this topic
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class ActiveMQDestination
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ActiveMQDestination