| Modifier and Type | Interface and Description |
|---|---|
interface |
TemporaryTopic
A
TemporaryTopic object is a unique Topic object
created for the duration of a Connection. |
| Modifier and Type | Method and Description |
|---|---|
Topic |
TopicSession.createTopic(String topicName)
Creates a topic identity given a
Topic name. |
Topic |
JMSContext.createTopic(String topicName)
Creates a
Topic object which encapsulates a specified
provider-specific topic name. |
Topic |
Session.createTopic(String topicName)
Creates a
Topic object which encapsulates a specified
provider-specific topic name. |
Topic |
TopicPublisher.getTopic()
Gets the topic associated with this
TopicPublisher. |
Topic |
TopicSubscriber.getTopic()
Gets the
Topic associated with this subscriber. |
| Modifier and Type | Method and Description |
|---|---|
ConnectionConsumer |
TopicConnection.createConnectionConsumer(Topic topic,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Creates a connection consumer for this connection (optional operation).
|
ConnectionConsumer |
TopicConnection.createDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Create a durable connection consumer for this connection (optional operation).
|
ConnectionConsumer |
Connection.createDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Create a durable connection consumer for this connection (optional operation).
|
JMSConsumer |
JMSContext.createDurableConsumer(Topic topic,
String name)
Creates a durable subscription with the specified name on the specified
topic, and creates a
JMSConsumer on that durable
subscription. |
MessageConsumer |
Session.createDurableConsumer(Topic topic,
String name)
Creates a durable subscription with the specified name on the specified
topic, and creates a
MessageConsumer on that durable
subscription. |
JMSConsumer |
JMSContext.createDurableConsumer(Topic topic,
String name,
String messageSelector,
boolean noLocal)
Creates a durable subscription with the specified name on the specified
topic, specifying a message selector and the
noLocal
parameter, and creates a JMSConsumer on that durable
subscription. |
MessageConsumer |
Session.createDurableConsumer(Topic topic,
String name,
String messageSelector,
boolean noLocal)
Creates a durable subscription with the specified name on the specified
topic, specifying a message selector and the
noLocal
parameter, and creates a MessageConsumer on that durable
subscription. |
TopicSubscriber |
TopicSession.createDurableSubscriber(Topic topic,
String name)
Creates a durable subscription with the specified name on the
specified topic, and creates a
TopicSubscriber
on that durable subscription. |
TopicSubscriber |
Session.createDurableSubscriber(Topic topic,
String name)
Creates a durable subscription with the specified name on the
specified topic, and creates a
TopicSubscriber
on that durable subscription. |
TopicSubscriber |
TopicSession.createDurableSubscriber(Topic topic,
String name,
String messageSelector,
boolean noLocal)
Creates a durable subscription with the specified name on the
specified topic (if one does not already exist), and creates a
TopicSubscriber
on that durable subscription, specifying a message
selector and whether messages published by its
own connection should be added to the durable subscription. |
TopicSubscriber |
Session.createDurableSubscriber(Topic topic,
String name,
String messageSelector,
boolean noLocal)
Creates a durable subscription with the specified name on the specified
topic (if one does not already exist), specifying a message selector and
the
noLocal parameter, and creates a
TopicSubscriber on that durable subscription. |
TopicPublisher |
TopicSession.createPublisher(Topic topic)
Creates a publisher for the specified topic.
|
JMSConsumer |
JMSContext.createSharedConsumer(Topic topic,
String sharedSubscriptionName)
Creates a shared non-durable subscription with the specified name on the
specified topic, and creates a
JMSConsumer on that
subscription. |
MessageConsumer |
Session.createSharedConsumer(Topic topic,
String sharedSubscriptionName)
Creates a shared non-durable subscription with the specified name on the
specified topic, and creates a
MessageConsumer on that
subscription. |
JMSConsumer |
JMSContext.createSharedConsumer(Topic topic,
String sharedSubscriptionName,
String messageSelector)
Creates a shared non-durable subscription with the specified name on the
specified topic, specifying a message selector, and creates a
JMSConsumer on that subscription |
MessageConsumer |
Session.createSharedConsumer(Topic topic,
String sharedSubscriptionName,
String messageSelector)
Creates a shared non-durable subscription with the specified name on the
specified topic, specifying a message selector, and creates a
MessageConsumer on that subscription. |
JMSConsumer |
JMSContext.createSharedConsumer(Topic topic,
String sharedSubscriptionName,
String messageSelector,
boolean noLocal)
Creates a shared non-durable subscription with the specified name on the
specified topic, specifying a message selector and the
noLocal parameter, and creates a JMSConsumer on
that subscription. |
MessageConsumer |
Session.createSharedConsumer(Topic topic,
String sharedSubscriptionName,
String messageSelector,
boolean noLocal)
Creates a shared non-durable subscription with the specified name on the
specified topic, specifying a message selector and the
noLocal parameter, and creates a
MessageConsumer on that subscription, |
TopicSubscriber |
TopicSession.createSubscriber(Topic topic)
Creates a nondurable subscriber to the specified topic.
|
TopicSubscriber |
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 |
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.
|
| Constructor and Description |
|---|
TopicRequestor(TopicSession session,
Topic topic)
Constructor for the
TopicRequestor class. |
Copyright © 2012. All Rights Reserved.