| Modifier and Type | Interface and Description |
|---|---|
interface |
QueueReceiver
A client uses a
QueueReceiver object to receive messages that
have been delivered to a queue. |
interface |
TopicSubscriber
A client uses a
TopicSubscriber object to receive messages that
have been published to a topic. |
| Modifier and Type | Method and Description |
|---|---|
MessageConsumer |
Session.createConsumer(Destination destination)
Creates a
MessageConsumer for the specified destination. |
MessageConsumer |
Session.createConsumer(Destination destination,
String messageSelector)
Creates a
MessageConsumer for the specified destination,
using a message selector. |
MessageConsumer |
Session.createConsumer(Destination destination,
String messageSelector,
boolean noLocal)
Creates
MessageConsumer for the specified destination, specifying a
message selector and the noLocal parameter. |
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. |
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. |
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. |
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. |
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, |
Copyright © 2012. All Rights Reserved.