@Metadata(firstVersion="2.20.0", label="dataformat,transformation", title="Thrift") public class ThriftDataFormat extends DataFormatDefinition
Constructor and Description |
---|
ThriftDataFormat() |
ThriftDataFormat(String instanceClass) |
ThriftDataFormat(String instanceClass,
String contentTypeFormat) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDataFormat(DataFormat dataFormat,
CamelContext camelContext)
Allows derived classes to customize the data format
|
String |
getContentTypeFormat() |
Object |
getDefaultInstance() |
String |
getInstanceClass() |
void |
setContentTypeFormat(String contentTypeFormat)
Defines a content type format in which thrift message will be
serialized/deserialized from(to) the Java been.
|
void |
setDefaultInstance(Object defaultInstance) |
void |
setInstanceClass(String instanceClass)
Name of class to use when unarmshalling
|
configureDataFormat, createDataFormat, getContentTypeHeader, getDataFormat, getDataFormat, getDataFormat, getDataFormatName, getOtherAttributes, getShortName, setContentTypeHeader, setDataFormat, setDataFormatName, setOtherAttributes, setProperty, setProperty
getId, setId
public ThriftDataFormat()
public ThriftDataFormat(String instanceClass)
public ThriftDataFormat(String instanceClass, String contentTypeFormat)
public String getInstanceClass()
public void setInstanceClass(String instanceClass)
public void setContentTypeFormat(String contentTypeFormat)
public String getContentTypeFormat()
public Object getDefaultInstance()
public void setDefaultInstance(Object defaultInstance)
protected void configureDataFormat(DataFormat dataFormat, CamelContext camelContext)
DataFormatDefinition
configureDataFormat
in class DataFormatDefinition
Apache Camel