|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<UnresolvedRoutingKeyPolicy> org.axonframework.commandhandling.distributed.UnresolvedRoutingKeyPolicy
public enum UnresolvedRoutingKeyPolicy
Enum Constant Summary | |
---|---|
ERROR
Policy that indicates that Routing Key resolution should fail with an Exception when no routing key can be found for a Command Message. |
|
RANDOM_KEY
Policy that indicates a random key is to be returned when no Routing Key can be found for a Command Message. |
|
STATIC_KEY
Policy that indicates a fixed key ("unresolved") should be returned when no Routing Key can be found for a Command Message. |
Method Summary | |
---|---|
static UnresolvedRoutingKeyPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UnresolvedRoutingKeyPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 UnresolvedRoutingKeyPolicy ERROR
AxonNonTransientException
to indicate that retries do not have a chance to
succeed.
public static final UnresolvedRoutingKeyPolicy RANDOM_KEY
public static final UnresolvedRoutingKeyPolicy STATIC_KEY
Method Detail |
---|
public static UnresolvedRoutingKeyPolicy[] values()
for (UnresolvedRoutingKeyPolicy c : UnresolvedRoutingKeyPolicy.values()) System.out.println(c);
public static UnresolvedRoutingKeyPolicy 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 |