setMessageListener
public void setMessageListener(MessageListener listener) throws JMSException;
Sets the session's distinguished message listener.
- Parameters
- listener -
- Exceptions
- JMSException - with one of the following reasons:
- MQJMS_E_SESSION_CLOSED
- MQJMS_E_SESSION_ASYNC
uj30320_