|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
jrun.jms.core.client.JmsTopicSession
The JmsTopicSession extends JmsSession and implements TopicSession. It is a client side representation of a JMS session.
| Method Summary | |
protected void |
addPublisher(JmsTopicPublisher publisher)
Add the specified publisher to the list of managed publishers. |
protected void |
addSubscriber(JmsTopicSubscriber subscriber,
java.lang.String name)
Add the specified subscriber to the list of managed subscribers. |
javax.jms.TopicSubscriber |
createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name)
|
javax.jms.TopicSubscriber |
createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name,
java.lang.String selector,
boolean noLocal)
|
javax.jms.TopicPublisher |
createPublisher(javax.jms.Topic topic)
|
javax.jms.TopicSubscriber |
createSubscriber(javax.jms.Topic topic)
|
javax.jms.TopicSubscriber |
createSubscriber(javax.jms.Topic topic,
java.lang.String selector,
boolean noLocal)
|
javax.jms.TemporaryTopic |
createTemporaryTopic()
|
javax.jms.Topic |
createTopic(java.lang.String topicName)
|
protected void |
removePublisher(JmsTopicPublisher publisher)
Remove the specified publisher form the list of managed publishers. |
protected void |
removeSubscriber(JmsTopicSubscriber subscriber)
Remove the specified subscriber form the list of managed subscribers. |
void |
unsubscribe(java.lang.String name)
|
| Method Detail |
public javax.jms.Topic createTopic(java.lang.String topicName)
throws javax.jms.JMSException
public javax.jms.TopicSubscriber createSubscriber(javax.jms.Topic topic)
throws javax.jms.JMSException
public javax.jms.TopicSubscriber createSubscriber(javax.jms.Topic topic,
java.lang.String selector,
boolean noLocal)
throws javax.jms.JMSException
public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name)
throws javax.jms.JMSException
public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name,
java.lang.String selector,
boolean noLocal)
throws javax.jms.JMSException
public javax.jms.TopicPublisher createPublisher(javax.jms.Topic topic)
throws javax.jms.JMSException
public javax.jms.TemporaryTopic createTemporaryTopic()
throws javax.jms.JMSException
public void unsubscribe(java.lang.String name)
throws javax.jms.JMSException
protected void addSubscriber(JmsTopicSubscriber subscriber,
java.lang.String name)
throws javax.jms.JMSException
The consumer name can be null for non-durable subscribers.
consumer - consumer to add
protected void addPublisher(JmsTopicPublisher publisher)
throws javax.jms.JMSException
If the publisher is for a temporary topic then we need to register this with connection. All temporary topic message processing happens locally
publisher - publisher to add
protected void removeSubscriber(JmsTopicSubscriber subscriber)
throws javax.jms.JMSException
This method will not clean up the server side reciever until the session is closed.
subscriber - subscriber to remove
protected void removePublisher(JmsTopicPublisher publisher)
throws javax.jms.JMSException
publisher - publisher to remove
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||