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

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

Introduction

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

The text is from its open source code.

Implementation

javax.jms.MessageConsumer has the following implementations.
Click this link to see all its implementation.

Method

voidclose()
Closes the message consumer.
ClassgetClass()
Returns the runtime class of this Object .
Messagereceive(long timeout)
Receives the next message that arrives within the specified timeout interval.
Messagereceive()
Receives the next message produced for this message consumer.
MessagereceiveNoWait()
Receives the next message if one is immediately available.
voidsetMessageListener(MessageListener listener)
Sets the MessageConsumer 's MessageListener .