Example usage for Java javax.jms MessageConsumer fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the message consumer. |
Class> | getClass() Returns the runtime class of this Object . |
Message | receive(long timeout) Receives the next message that arrives within the specified timeout interval. |
Message | receive() Receives the next message produced for this message consumer. |
Message | receiveNoWait() Receives the next message if one is immediately available. |
void | setMessageListener(MessageListener listener) Sets the MessageConsumer 's MessageListener . |