Message Queue, v4.4 API Specification

## Uses of Interface
javax.jms.Topic

Packages that use Topic
com.sun.messaging: Provides the Sun GlassFish(tm) Message Queue public classes.
javax.jms: The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.

Uses of Topic in com.sun.messaging

Classes in com.sun.messaging that implement Topic
`class` `BasicTopic` A `BasicTopic` represents an identity of a repository of messages used in the JMS Publish/Subscribe messaging domain.
`class` `Topic` A `Topic` represents an identity of a repository of messages used in the JMS Publish/Subscribe messaging domain.

Uses of Topic in javax.jms

Subinterfaces of Topic in javax.jms
`interface` `TemporaryTopic` A `TemporaryTopic` object is a unique `Topic` object created for the duration of a `Connection`.

Methods in javax.jms that return Topic
`Topic` `TopicSession.createTopic(java.lang.String topicName)` Creates a topic identity given a `Topic` name.
`Topic` `Session.createTopic(java.lang.String topicName)` Creates a topic identity given a `Topic` name.
`Topic` `TopicSubscriber.getTopic()` Gets the `Topic` associated with this subscriber.
`Topic` `TopicPublisher.getTopic()` Gets the topic associated with this `TopicPublisher`.

Methods in javax.jms with parameters of type Topic
`ConnectionConsumer` `TopicConnection.createConnectionConsumer(Topic topic, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages)` Creates a connection consumer for this connection (optional operation).
`ConnectionConsumer` `TopicConnection.createDurableConnectionConsumer(Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages)` Create a durable connection consumer for this connection (optional operation).
`ConnectionConsumer` `Connection.createDurableConnectionConsumer(Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages)` Create a durable connection consumer for this connection (optional operation).
`TopicSubscriber` `TopicSession.createDurableSubscriber(Topic topic, java.lang.String name)` Creates a durable subscriber to the specified topic.
`TopicSubscriber` `Session.createDurableSubscriber(Topic topic, java.lang.String name)` Creates a durable subscriber to the specified topic.
`TopicSubscriber` `TopicSession.createDurableSubscriber(Topic topic, java.lang.String name, java.lang.String messageSelector, boolean noLocal)` Creates a durable subscriber to the specified topic, using a message selector or specifying whether messages published by its own connection should be delivered to it.
`TopicSubscriber` `Session.createDurableSubscriber(Topic topic, java.lang.String name, java.lang.String messageSelector, boolean noLocal)` Creates a durable subscriber to the specified topic, using a message selector and specifying whether messages published by its own connection should be delivered to it.
`TopicPublisher` `TopicSession.createPublisher(Topic topic)` Creates a publisher for the specified topic.
`TopicSubscriber` `TopicSession.createSubscriber(Topic topic)` Creates a nondurable subscriber to the specified topic.
`TopicSubscriber` `TopicSession.createSubscriber(Topic topic, java.lang.String messageSelector, boolean noLocal)` Creates a nondurable subscriber to the specified topic, using a message selector or specifying whether messages published by its own connection should be delivered to it.
`void` `TopicPublisher.publish(Topic topic, Message message)` Publishes a message to a topic for an unidentified message producer.
`void` `TopicPublisher.publish(Topic topic, Message message, int deliveryMode, int priority, long timeToLive)` Publishes a message to a topic for an unidentified message producer, specifying delivery mode, priority and time to live.

Constructors in javax.jms with parameters of type Topic
`TopicRequestor(TopicSession session, Topic topic)` Constructor for the `TopicRequestor` class.

Message Queue, v4.4 API Specification

Copyright 2009 Sun Microsystems, Inc.
4150 Network Circle, Santa Clara, CA 95054, U.S.A. All Rights Reserved.