org.apache.camel.component.cxf
Enum DataFormat

java.lang.Object
  extended by java.lang.Enum<DataFormat>
      extended by org.apache.camel.component.cxf.DataFormat
All Implemented Interfaces:
Serializable, Comparable<DataFormat>

public enum DataFormat
extends Enum<DataFormat>

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.


Enum Constant Summary
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.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PAYLOAD

public static final DataFormat 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

public static final DataFormat RAW
RAW is the raw message that is received from the transport layer. Streaming and non-streaming are both supported.


MESSAGE

@Deprecated
public static final DataFormat MESSAGE
Deprecated. - equivalent to RAW mode for Camel 2.x
MESSAGE is the raw message that is received from the transport layer. Streaming and non-streaming are both supported.


CXF_MESSAGE

public static final DataFormat 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

public static final DataFormat 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 Detail

values

public static DataFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DataFormat c : DataFormat.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DataFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

dealias

public DataFormat dealias()


Apache CAMEL