public final class FlowType
extends java.lang.Enum
BeforeSequence
, AfterSequence
, BeforeEndpoint
and AfterEndpoint
annotations.
FlowType | Description |
---|---|
IN |
the incoming message flow |
OUT |
the outgoing message flow |
ERROR |
the error message flow |
ALL |
all the above 3 message flows |
Modifier and Type | Field and Description |
---|---|
static FlowType |
ALL |
static FlowType |
IN |
static FlowType |
OUT |
Modifier and Type | Method and Description |
---|---|
static FlowType |
fromMessage(Message message)
Constructs the
FlowType of the current message |
boolean |
matches(FlowType flowType)
Whether the given type matches this type.
|
static FlowType |
valueOf(java.lang.String name) |
static FlowType[] |
values() |
public static final FlowType IN
public static final FlowType OUT
public static final FlowType ALL
public static FlowType[] values()
public static FlowType valueOf(java.lang.String name)
public boolean matches(FlowType flowType)
FlowType.ALL
both IN and OUT types are
considered as matches.flowType
- the flow type to be matched