Class BindyDataFormat
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.model.DataFormatDefinition
org.apache.camel.model.dataformat.BindyDataFormat
@Metadata(firstVersion="2.0.0",
label="dataformat,transformation,csv",
title="Bindy")
public class BindyDataFormat
extends DataFormatDefinition
Marshal and unmarshal Java beans from and to flat payloads (such as CSV, delimited, fixed length formats, or FIX
messages).
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowEmptyStream(boolean allowEmptyStream) allowEmptyStream(String allowEmptyStream) csv()fixed()Class<?>getType()keyValue()voidsetAllowEmptyStream(String allowEmptyStream) Whether to allow empty streams in the unmarshal process.voidsetClassType(Class<?> classType) Name of model class to use.voidsetClassTypeAsString(String classType) Name of model class to use.voidTo configure a default locale to use, such as us for united states.voidWhether to use Csv, Fixed, or KeyValue.voidsetUnwrapSingleInstance(String unwrapSingleInstance) When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List.unwrapSingleInstance(boolean unwrapSingleInstance) unwrapSingleInstance(String unwrapSingleInstance) Methods inherited from class org.apache.camel.model.DataFormatDefinition
getDataFormat, getShortName, setDataFormat, setDataFormatNameMethods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
Constructor Details
-
BindyDataFormat
public BindyDataFormat()
-
-
Method Details
-
getType
-
setType
Whether to use Csv, Fixed, or KeyValue. -
getClassTypeAsString
-
setClassTypeAsString
Name of model class to use. -
getDataFormatName
- Overrides:
getDataFormatNamein classDataFormatDefinition
-
setClassType
Name of model class to use. -
getClassType
-
getLocale
-
setLocale
To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default -
getUnwrapSingleInstance
-
setUnwrapSingleInstance
When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List. -
getAllowEmptyStream
-
setAllowEmptyStream
Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided. -
csv
-
fixed
-
keyValue
-
type
-
type
-
classType
-
classType
-
locale
-
locale
-
unwrapSingleInstance
-
unwrapSingleInstance
-
allowEmptyStream
-
allowEmptyStream
-