public final class ConsumerClosedException extends JMSException
ConsumerClosedException is delivered to the ExceptionListener for
 a session (if set), when one of session's consumer is
 closed by the server as a result of a server failure or
 administrative intervention.| Modifier and Type | Method and Description | 
|---|---|
MessageConsumer | 
getConsumer()
Gets the reference to the consumer that was closed 
 | 
void | 
setConsumer(MessageConsumer consumer)
Sets a reference to the consumer that was closed. 
 | 
getLinkedException, setLinkedExceptiongetErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MessageConsumer getConsumer()
public void setConsumer(MessageConsumer consumer)