Package | Description |
---|---|
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.
|
org.apache.activemq.artemis.api.jms | |
org.apache.activemq.artemis.jms.client | |
org.apache.activemq.artemis.jndi |
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 |
Session.createTopic(String topicName)
Creates a
Topic object which encapsulates a specified
provider-specific topic name. |
Topic |
JMSContext.createTopic(String topicName)
Creates a
Topic object which encapsulates a specified
provider-specific topic name. |
Topic |
TopicSubscriber.getTopic()
Gets the
Topic associated with this subscriber. |
Topic |
TopicPublisher.getTopic()
Gets the topic associated with this
TopicPublisher . |
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)
Creates a connection consumer for this connection (optional operation)
on the specific topic using an unshared durable subscription with
the specified name.
|
MessageConsumer |
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.
|
JMSConsumer |
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.
|
MessageConsumer |
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 the
noLocal parameter, and creates a consumer on that durable
subscription. |
JMSConsumer |
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 the
noLocal parameter, and creates a consumer on that durable
subscription. |
TopicSubscriber |
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.
|
TopicSubscriber |
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.
|
TopicSubscriber |
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 the
noLocal parameter, and creates a consumer on that durable
subscription. |
TopicSubscriber |
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 the
noLocal parameter, and creates a consumer on that durable
subscription. |
TopicPublisher |
TopicSession.createPublisher(Topic topic)
Creates a publisher for the specified topic.
|
ConnectionConsumer |
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.
|
MessageConsumer |
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.
|
JMSConsumer |
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.
|
MessageConsumer |
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.
|
JMSConsumer |
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.
|
ConnectionConsumer |
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.
|
MessageConsumer |
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 the
noLocal
parameter, and creates a consumer on that durable subscription. |
JMSConsumer |
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.
|
MessageConsumer |
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.
|
JMSConsumer |
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.
|
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. |
Modifier and Type | Method and Description |
---|---|
static Topic |
ActiveMQJMSClient.createTopic(String name)
Creates a client-side representation of a JMS Topic.
|
Modifier and Type | Class and Description |
---|---|
class |
ActiveMQTemporaryTopic |
class |
ActiveMQTopic
ActiveMQ Artemis implementation of a JMS Topic.
|
Modifier and Type | Method and Description |
---|---|
Topic |
ActiveMQSession.createTopic(String topicName) |
Topic |
ActiveMQJMSContext.createTopic(String topicName) |
Topic |
ActiveMQMessageProducer.getTopic() |
Topic |
ActiveMQMessageConsumer.getTopic() |
Modifier and Type | Method and Description |
---|---|
ConnectionConsumer |
ActiveMQConnection.createConnectionConsumer(Topic topic,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
ConnectionConsumer |
ActiveMQConnection.createDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
MessageConsumer |
ActiveMQSession.createDurableConsumer(Topic topic,
String name) |
JMSConsumer |
ActiveMQJMSContext.createDurableConsumer(Topic topic,
String name) |
MessageConsumer |
ActiveMQSession.createDurableConsumer(Topic topic,
String name,
String messageSelector,
boolean noLocal) |
JMSConsumer |
ActiveMQJMSContext.createDurableConsumer(Topic topic,
String name,
String messageSelector,
boolean noLocal) |
TopicSubscriber |
ActiveMQSession.createDurableSubscriber(Topic topic,
String name) |
TopicSubscriber |
ActiveMQSession.createDurableSubscriber(Topic topic,
String name,
String messageSelector,
boolean noLocal) |
TopicPublisher |
ActiveMQSession.createPublisher(Topic topic) |
ConnectionConsumer |
ActiveMQConnection.createSharedConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
MessageConsumer |
ActiveMQSession.createSharedConsumer(Topic topic,
String sharedSubscriptionName) |
JMSConsumer |
ActiveMQJMSContext.createSharedConsumer(Topic topic,
String sharedSubscriptionName) |
MessageConsumer |
ActiveMQSession.createSharedConsumer(Topic topic,
String name,
String messageSelector)
Note: Needs to throw an exception if a subscriptionName is already in use by another topic, or if the messageSelector is different
validate multiple subscriptions on the same session.
|
JMSConsumer |
ActiveMQJMSContext.createSharedConsumer(Topic topic,
String sharedSubscriptionName,
String messageSelector) |
ConnectionConsumer |
ActiveMQConnection.createSharedDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
MessageConsumer |
ActiveMQSession.createSharedDurableConsumer(Topic topic,
String name) |
JMSConsumer |
ActiveMQJMSContext.createSharedDurableConsumer(Topic topic,
String name) |
MessageConsumer |
ActiveMQSession.createSharedDurableConsumer(Topic topic,
String name,
String messageSelector) |
JMSConsumer |
ActiveMQJMSContext.createSharedDurableConsumer(Topic topic,
String name,
String messageSelector) |
TopicSubscriber |
ActiveMQSession.createSubscriber(Topic topic) |
TopicSubscriber |
ActiveMQSession.createSubscriber(Topic topic,
String messageSelector,
boolean noLocal) |
void |
ActiveMQMessageProducer.publish(Topic topic,
Message message) |
void |
ActiveMQMessageProducer.publish(Topic topic,
Message message,
int deliveryMode,
int priority,
long timeToLive) |
Modifier and Type | Method and Description |
---|---|
protected Topic |
ActiveMQInitialContextFactory.createTopic(String name)
Factory method to create new Topic instances
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.