|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Durable public interface DurableMessageManager
| Method Summary | |
|---|---|
TopicSubscriber |
createDurableSubscriber(String topic,
String id,
MessageListener... listeners)
Creates a topic subscriber with the given ID and binds a message listener to it, if valid. |
TopicSubscriber |
createDurableSubscriber(Topic topic,
String id,
MessageListener... listeners)
Creates a topic subscriber with the given ID and binds a message listener to it, if valid. |
void |
login(String clientId)
Initializes the connection for this DurableMessageManager. |
void |
unsubscribe(String id)
Unsubscribes a durable subscriber from the topic, with the given id. |
| Method Detail |
|---|
void login(String clientId)
Connection
clientId -
TopicSubscriber createDurableSubscriber(String topic,
String id,
MessageListener... listeners)
MessageBuilder.createDurableSubscriber
topic - JNDI Location of the topic to subscribe to.id - the client id for the subscriber. This ID should be unique, and should be used to shutdown the listener.listener - The Message Listeners to be bound, if any.
TopicSubscriber createDurableSubscriber(Topic topic,
String id,
MessageListener... listeners)
MessageBuilder.createDurableSubscriber
topic - the existing destination to reference.id - the client id for the subscriber. This ID should be unique, and should be used to shutdown the listener.listener - The Message Listeners to be bound, if any.
void unsubscribe(String id)
id - the id of the subscriber.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||