public static enum DefaultSenderHeadersInterceptor.Capability extends java.lang.Enum<DefaultSenderHeadersInterceptor.Capability>
| Enum Constant and Description |
|---|
MESSAGE_ID
Add a
DefaultSenderHeadersInterceptor.MSG_ID_ATTR to the message header. |
SENDER_NAME
Add a
DefaultSenderHeadersInterceptor.MSG_SENDER_ATTR to the message header. |
TIMESTAMP
Add a
DefaultSenderHeadersInterceptor.MSG_TIMESTAMP_ATTR to the message header. |
| Modifier and Type | Method and Description |
|---|---|
static DefaultSenderHeadersInterceptor.Capability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultSenderHeadersInterceptor.Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultSenderHeadersInterceptor.Capability SENDER_NAME
DefaultSenderHeadersInterceptor.MSG_SENDER_ATTR to the message header. The name of the sender is configured using property
'synapse.sender.name' or 'spring.application.name'public static final DefaultSenderHeadersInterceptor.Capability MESSAGE_ID
DefaultSenderHeadersInterceptor.MSG_ID_ATTR to the message header. The value of the header is a UUID.public static final DefaultSenderHeadersInterceptor.Capability TIMESTAMP
DefaultSenderHeadersInterceptor.MSG_TIMESTAMP_ATTR to the message header.public static DefaultSenderHeadersInterceptor.Capability[] values()
for (DefaultSenderHeadersInterceptor.Capability c : DefaultSenderHeadersInterceptor.Capability.values()) System.out.println(c);
public static DefaultSenderHeadersInterceptor.Capability valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null