public enum MQClientReconnectOptions extends Enum<MQClientReconnectOptions>
| Enum Constant and Description |
|---|
AS_DEF
Uses the queue manager's default reconnect behavior.
|
DISABLED
Disables automatic reconnection.
|
RECONNECT
Allows the client to reconnect to any queue manager in the connection name list.
|
RECONNECT_Q_MGR
Restricts reconnection to the same queue manager instance only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static MQClientReconnectOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MQClientReconnectOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MQClientReconnectOptions RECONNECT
public static final MQClientReconnectOptions RECONNECT_Q_MGR
public static final MQClientReconnectOptions AS_DEF
public static final MQClientReconnectOptions DISABLED
public static MQClientReconnectOptions[] values()
for (MQClientReconnectOptions c : MQClientReconnectOptions.values()) System.out.println(c);
public static MQClientReconnectOptions valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
Copyright © 2026 MuleSoft, Inc.. All rights reserved.