jms4spread
Class TopicSubscriber

java.lang.Object
  |
  +--jms4spread.MessageConsumer
        |
        +--jms4spread.TopicSubscriber

public class TopicSubscriber
extends MessageConsumer

A topic subscriber enables a client to recieve messages published to a topic.


Method Summary
 java.lang.String getTopic()
          Get the Topic associated with the TopicSubscriber
 
Methods inherited from class jms4spread.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTopic

public java.lang.String getTopic()
Get the Topic associated with the TopicSubscriber
Returns:
Topic