Package | Description |
---|---|
javax.jms |
The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
|
Modifier and Type | Method and Description |
---|---|
MessageListener |
Session.getMessageListener()
Returns the session's distinguished message listener (optional).
|
MessageListener |
MessageConsumer.getMessageListener()
Gets the
MessageConsumer 's MessageListener . |
MessageListener |
JMSConsumer.getMessageListener()
Gets the
JMSConsumer 's MessageListener . |
Modifier and Type | Method and Description |
---|---|
void |
Session.setMessageListener(MessageListener listener)
Sets the session's distinguished message listener (optional).
|
void |
MessageConsumer.setMessageListener(MessageListener listener)
Sets the
MessageConsumer 's MessageListener . |
void |
JMSConsumer.setMessageListener(MessageListener listener)
Sets the
JMSConsumer 's MessageListener . |
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.