Enum Class DataFormat
- All Implemented Interfaces:
Serializable
,Comparable<DataFormat>
,Constable
The data format the user expects to see at the Camel CXF components. It can be configured as a property (DataFormat)
in the Camel CXF endpoint.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCXF_MESSAGE is the message that is received from the transport layer and then processed through the full set of CXF interceptors.Deprecated.- equivalent to RAW mode for Camel 2.xPAYLOAD is the message payload of the message after message configured in the CXF endpoint is applied.POJOs (Plain old Java objects) are the Java parameters to the method it is invoking on the target server.RAW is the raw message that is received from the transport layer. -
Method Summary
Modifier and TypeMethodDescriptiondealias()
static DataFormat
Returns the enum constant of this class with the specified name.static DataFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PAYLOAD
PAYLOAD is the message payload of the message after message configured in the CXF endpoint is applied. Streaming and non-streaming are both supported. -
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}
-
MESSAGE
Deprecated.- equivalent to RAW mode for Camel 2.xMESSAGE is the raw message that is received from the transport layer. Streaming and non-streaming are both supported. -
CXF_MESSAGE
CXF_MESSAGE is the message that is received from the transport layer and then processed through the full set of CXF interceptors. This provides the same functionality as the CXF MESSAGE mode providers. -
POJO
POJOs (Plain old Java objects) are the Java parameters to the method it is invoking on the target server. The "serviceClass" property must be included in the endpoint. Streaming is not available for this data format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
dealias
-