getMessageListener

 

public MessageListener getMessageListener() throws JMSException;

Gets the message consumer's MessageListener.

Returns

  • the listener for the message consumer, or null if a listener is not set.

Exceptions

  • JMSException - with reason MQJMS_MESSAGECONSUMER_CLOSED


uj29330_