java.io.Serializablepublic 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 | Description |
|---|---|---|
javax.jms.MessageConsumer |
getConsumer() |
Gets the reference to the consumer that was closed
|
void |
setConsumer(javax.jms.MessageConsumer consumer) |
Sets a reference to the consumer that was closed.
|
getLinkedException, setLinkedExceptionpublic javax.jms.MessageConsumer getConsumer()
public void setConsumer(javax.jms.MessageConsumer consumer)