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,
javax.jms.JMSException jmse)
Construct a connection reconnect failed event associated with the specified connection.
|
Modifier and Type | Method and Description |
---|---|
javax.jms.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, javax.jms.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 javax.jms.JMSException getJMSException()
Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.