Example usage for Java javax.jms QueueReceiver fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the message consumer. |
String | getMessageSelector() Gets this message consumer's message selector expression. |
Queue | getQueue() Gets the Queue associated with this queue receiver. |
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 . |