public static enum AepEngine.MessageBusBindingFailPolicy extends Enum<AepEngine.MessageBusBindingFailPolicy>
This enumerates the policy that determines what action an engine takes when a message bus binding fails.
Enum Constant and Description |
---|
FailIfAnyBindingFails
With this policy, when a binding fails, the engine shuts down
all other operational bindings (if any) and dispatches a
AepMessagingFailedEvent to the application. |
Reconnect
With this policy, when a binding fails, the engine dispatches
channel down events for all channels in the failed binding.
|
Modifier and Type | Method and Description |
---|---|
static AepEngine.MessageBusBindingFailPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AepEngine.MessageBusBindingFailPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AepEngine.MessageBusBindingFailPolicy Reconnect
public static final AepEngine.MessageBusBindingFailPolicy FailIfAnyBindingFails
AepMessagingFailedEvent
to the application. A binding shut
down such is done so in a manner that preserves the binding's
channel interests on the messaging subsystem for all the binding's
guaranteed channels while the binding is offline. This ensures no
message loss when the binding is reestablished at a later point.
This is the default messaging start fail policy
public static AepEngine.MessageBusBindingFailPolicy[] values()
for (AepEngine.MessageBusBindingFailPolicy c : AepEngine.MessageBusBindingFailPolicy.values()) System.out.println(c);
public static AepEngine.MessageBusBindingFailPolicy 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 nullCopyright © 2019 Neeve Research, LLC. All Rights Reserved.