Example usage for Java javax.jms TopicSubscriber fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the message consumer. |
Topic | getTopic() Gets the Topic associated with this subscriber. |
Message | receive() Receives the next message produced for this message consumer. |
Message | receive(long timeout) Receives the next message that arrives within the specified timeout interval. |
void | setMessageListener(MessageListener listener) Sets the MessageConsumer 's MessageListener . |