Java javax.jms TopicSubscriber fields, constructors, methods, implement or subclass

Example usage for Java javax.jms TopicSubscriber fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.jms TopicSubscriber.

The text is from its open source code.

Method

voidclose()
Closes the message consumer.
TopicgetTopic()
Gets the Topic associated with this subscriber.
Messagereceive()
Receives the next message produced for this message consumer.
Messagereceive(long timeout)
Receives the next message that arrives within the specified timeout interval.
voidsetMessageListener(MessageListener listener)
Sets the MessageConsumer 's MessageListener .