public class AmqpShutdownSignal extends Object
| Constructor and Description |
|---|
AmqpShutdownSignal(boolean isTransient,
boolean isInitiatedByClient,
String message)
Creates a new instance of the AmqpShutdownSignal.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInitiatedByClient()
Gets whether or not this shutdown signal was initiated by the client.
|
boolean |
isTransient()
Gets whether or not this shutdown signal is transient or if it can be restarted.
|
String |
toString() |
public AmqpShutdownSignal(boolean isTransient,
boolean isInitiatedByClient,
String message)
isTransient - Whether the shutdown signal can be retried or not.isInitiatedByClient - true if the shutdown was initiated by the client; false otherwise.message - Message associated with the shutdown.public boolean isTransient()
true if the shutdown signal is transient and the connection, session, or link can be recreated.
false otherwise.public boolean isInitiatedByClient()
true if the shutdown signal was initiated by the client, false if the shutdown signal
occurred in the underlying AMQP layer or from the AMQP message broker.Copyright © 2021 Microsoft Corporation. All rights reserved.