public class ConnectionReconnectFailedEvent extends ConnectionEvent
The application can also obtain the current broker's address from the API defined in the ConnectionEvent.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTION_RECONNECT_FAILED
Connection reconnect failed event code.
|
connection
Constructor and Description |
---|
ConnectionReconnectFailedEvent(Connection conn,
java.lang.String evCode,
java.lang.String evMessage,
JMSException jmse)
Construct a connection reconnect failed event associated with the
specified connection.
|
Modifier and Type | Method and Description |
---|---|
JMSException |
getJMSException()
Get the JMSException that caused the connection to be closed.
|
getBrokerAddress, getConnection, getSource
getEventCode, getEventMessage, toString
public static final java.lang.String CONNECTION_RECONNECT_FAILED
public ConnectionReconnectFailedEvent(Connection conn, java.lang.String evCode, java.lang.String evMessage, JMSException jmse)
conn
- the connection associated with the reconnect event.
MQ may automatically reconnect to the same broker
or a different broker depends on the client runtime
configuration.evCode
- the event code that represents this event object.evMessage
- the event message that describes this event object.jmse
- the JMSException that caused this event.public JMSException getJMSException()
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.