|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AepEngine.MessageBusBindingFailPolicy>
com.neeve.aep.AepEngine.MessageBusBindingFailPolicy
public static enum AepEngine.MessageBusBindingFailPolicy
Enumerates an engine's message bus binding fail policy.
This enumerates the policy that determines what action an engine takes when a message bus binding fails.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |