public enum DataFormat extends Enum<DataFormat>
Enum Constant and Description |
---|
CXF_MESSAGE
CXF_MESSAGE is the message that is received from the transport layer
and then processed through the full set of CXF interceptors.
|
MESSAGE
Deprecated.
- equivalent to RAW mode for Camel 2.x
|
PAYLOAD
PAYLOAD is the message payload of the message after message configured in
the CXF endpoint is applied.
|
POJO
POJOs (Plain old Java objects) are the Java parameters to the method
it is invoking on the target server.
|
RAW
RAW is the raw message that is received from the transport layer.
|
Modifier and Type | Method and Description |
---|---|
DataFormat |
dealias() |
static DataFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFormat PAYLOAD
public static final DataFormat RAW
RAW is the raw message that is received from the transport layer. Streaming and non-streaming are both supported.
Only the interceptors of these phases are preserved:
In phases: {Phase.RECEIVE , Phase.INVOKE, Phase.POST_INVOKE}
Out phases: {Phase.PREPARE_SEND, Phase.WRITE, Phase.SEND, Phase.PREPARE_SEND_ENDING}
@Deprecated public static final DataFormat MESSAGE
public static final DataFormat CXF_MESSAGE
public static final DataFormat POJO
public static DataFormat[] values()
for (DataFormat c : DataFormat.values()) System.out.println(c);
public static DataFormat 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 DataFormat dealias()
Apache Camel