public enum ExternalCallKeyType extends Enum<ExternalCallKeyType>
ExternalCallComponent
for usage.Enum Constant and Description |
---|
CUSTOM
A key will not be generated.
|
ENTITY
A key will be generated based on the message object ID (and possibly entity type, if specified),
protecting external call from both duplication and obsolete calls,
but also possibly unnecessarily skipping calls, if object ID is specified incorrectly.
|
MESSAGE
A key will be generated based on the message source system and correlation ID,
protecting external call from duplication, but not from obsolete calls.
|
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Expression |
getExpression() |
static ExternalCallKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalCallKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalCallKeyType MESSAGE
ExtCallComponentParams.EXTERNAL_CALL_KEY
property will be appended, if specified.
public static final ExternalCallKeyType ENTITY
ExtCallComponentParams.EXTERNAL_CALL_KEY
property will be appended, if specified.
public static final ExternalCallKeyType CUSTOM
ExtCallComponentParams.EXTERNAL_CALL_KEY
property as is.public static ExternalCallKeyType[] values()
for (ExternalCallKeyType c : ExternalCallKeyType.values()) System.out.println(c);
public static ExternalCallKeyType 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 org.apache.camel.Expression getExpression()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.