Uses of Interface
jakarta.jms.Topic
Package
Description
The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
-
Uses of Topic in jakarta.jms
Modifier and TypeInterfaceDescriptioninterface
ATemporaryTopic
object is a uniqueTopic
object created for the duration of aConnection
.Modifier and TypeMethodDescriptionJMSContext.createTopic
(String topicName) Creates aTopic
object which encapsulates a specified provider-specific topic name.Session.createTopic
(String topicName) Creates aTopic
object which encapsulates a specified provider-specific topic name.TopicSession.createTopic
(String topicName) Creates a topic identity given aTopic
name.TopicPublisher.getTopic()
Gets the topic associated with thisTopicPublisher
.TopicSubscriber.getTopic()
Gets theTopic
associated with this subscriber.Modifier and TypeMethodDescriptionTopicConnection.createConnectionConsumer
(Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages) Creates a connection consumer for this connection (optional operation).Connection.createDurableConnectionConsumer
(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) Creates a connection consumer for this connection (optional operation) on the specific topic using an unshared durable subscription with the specified name.TopicConnection.createDurableConnectionConsumer
(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) Create a durable connection consumer for this connection (optional operation).JMSContext.createDurableConsumer
(Topic topic, String name) Creates an unshared durable subscription on the specified topic (if one does not already exist) and creates a consumer on that durable subscription.JMSContext.createDurableConsumer
(Topic topic, String name, String messageSelector, boolean noLocal) Creates an unshared durable subscription on the specified topic (if one does not already exist), specifying a message selector and thenoLocal
parameter, and creates a consumer on that durable subscription.Session.createDurableConsumer
(Topic topic, String name) Creates an unshared durable subscription on the specified topic (if one does not already exist) and creates a consumer on that durable subscription.Session.createDurableConsumer
(Topic topic, String name, String messageSelector, boolean noLocal) Creates an unshared durable subscription on the specified topic (if one does not already exist), specifying a message selector and thenoLocal
parameter, and creates a consumer on that durable subscription.Session.createDurableSubscriber
(Topic topic, String name) Creates an unshared durable subscription on the specified topic (if one does not already exist) and creates a consumer on that durable subscription.Session.createDurableSubscriber
(Topic topic, String name, String messageSelector, boolean noLocal) Creates an unshared durable subscription on the specified topic (if one does not already exist), specifying a message selector and thenoLocal
parameter, and creates a consumer on that durable subscription.TopicSession.createDurableSubscriber
(Topic topic, String name) Creates an unshared durable subscription on the specified topic (if one does not already exist) and creates a consumer on that durable subscription.TopicSession.createDurableSubscriber
(Topic topic, String name, String messageSelector, boolean noLocal) Creates an unshared durable subscription on the specified topic (if one does not already exist), specifying a message selector and thenoLocal
parameter, and creates a consumer on that durable subscription.TopicSession.createPublisher
(Topic topic) Creates a publisher for the specified topic.Connection.createSharedConnectionConsumer
(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) Creates a connection consumer for this connection (optional operation) on the specific topic using a shared non-durable subscription with the specified name.JMSContext.createSharedConsumer
(Topic topic, String sharedSubscriptionName) Creates a shared non-durable subscription with the specified name on the specified topic (if one does not already exist) and creates a consumer on that subscription.JMSContext.createSharedConsumer
(Topic topic, String sharedSubscriptionName, String messageSelector) Creates a shared non-durable subscription with the specified name on the specified topic (if one does not already exist) specifying a message selector, and creates a consumer on that subscription.Session.createSharedConsumer
(Topic topic, String sharedSubscriptionName) Creates a shared non-durable subscription with the specified name on the specified topic (if one does not already exist) and creates a consumer on that subscription.Session.createSharedConsumer
(Topic topic, String sharedSubscriptionName, String messageSelector) Creates a shared non-durable subscription with the specified name on the specified topic (if one does not already exist) specifying a message selector, and creates a consumer on that subscription.Connection.createSharedDurableConnectionConsumer
(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) Creates a connection consumer for this connection (optional operation) on the specific topic using a shared durable subscription with the specified name.JMSContext.createSharedDurableConsumer
(Topic topic, String name) Creates a shared durable subscription on the specified topic (if one does not already exist), specifying a message selector, and creates a consumer on that durable subscription.JMSContext.createSharedDurableConsumer
(Topic topic, String name, String messageSelector) Creates a shared durable subscription on the specified topic (if one does not already exist), specifying a message selector, and creates a consumer on that durable subscription.Session.createSharedDurableConsumer
(Topic topic, String name) Creates a shared durable subscription on the specified topic (if one does not already exist), specifying a message selector and thenoLocal
parameter, and creates a consumer on that durable subscription.Session.createSharedDurableConsumer
(Topic topic, String name, String messageSelector) Creates a shared durable subscription on the specified topic (if one does not already exist), specifying a message selector, and creates a consumer on that durable subscription.TopicSession.createSubscriber
(Topic topic) Creates a nondurable subscriber to the specified topic.TopicSession.createSubscriber
(Topic topic, 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
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.ModifierConstructorDescriptionTopicRequestor
(TopicSession session, Topic topic) Constructor for theTopicRequestor
class.