public class SpaceLostException
extends javax.jms.JMSException
ExceptionListener
of the
Connection
. The JMS client has to register an ExceptionListener
on that
Connection
to receive this notification. The results of the space failure are: If
the session is in CLIENT_ACKNOWLEDGE mode unacknowledged messages are recovered. If the session
is transacted unacknowledged messages are recovered and produced messages are lost. The client
has to respond to the space failure accordingly. To get the session that threw the exception
simply call getSession
.Modifier and Type | Method and Description |
---|---|
javax.jms.Session |
getSession()
Returns the session that threw the exception.
|
getErrorCode, getLinkedException, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © GigaSpaces.