Uses of Class
org.apache.camel.model.dataformat.AvroDataFormat.Builder
Packages that use AvroDataFormat.Builder
Package
Description
The JAXB POJOs for the Data Formats used to marshal and
unmarshal objects to and from streams inside components
-
Uses of AvroDataFormat.Builder in org.apache.camel.builder
Methods in org.apache.camel.builder that return AvroDataFormat.Builder -
Uses of AvroDataFormat.Builder in org.apache.camel.model.dataformat
Methods in org.apache.camel.model.dataformat that return AvroDataFormat.BuilderModifier and TypeMethodDescriptionAvroDataFormat.Builder.allowJmsType(boolean allowJmsType) Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.AvroDataFormat.Builder.allowJmsType(String allowJmsType) Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.AvroDataFormat.Builder.allowUnmarshallType(boolean allowUnmarshallType) If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling.AvroDataFormat.Builder.allowUnmarshallType(String allowUnmarshallType) If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling.AvroDataFormat.Builder.autoDiscoverObjectMapper(boolean autoDiscoverObjectMapper) If set to true then Jackson will lookup for an objectMapper into the registryAvroDataFormat.Builder.autoDiscoverObjectMapper(String autoDiscoverObjectMapper) If set to true then Jackson will lookup for an objectMapper into the registryAvroDataFormat.Builder.autoDiscoverSchemaResolver(boolean autoDiscoverSchemaResolver) When not disabled, the SchemaResolver will be looked up into the registryAvroDataFormat.Builder.autoDiscoverSchemaResolver(String autoDiscoverSchemaResolver) When not disabled, the SchemaResolver will be looked up into the registryAvroDataFormat.Builder.collectionType(Class<?> collectionType) AvroDataFormat.Builder.collectionTypeName(String collectionTypeName) Refers to a custom collection type to lookup in the registry to use.AvroDataFormat.Builder.contentTypeHeader(boolean contentTypeHeader) AvroDataFormat.Builder.contentTypeHeader(String contentTypeHeader) AvroDataFormat.Builder.disableFeatures(String disableFeatures) Set of features to disable on the Jackson com.fasterxml.jackson.databind.ObjectMapper.AvroDataFormat.Builder.enableFeatures(String enableFeatures) Set of features to enable on the Jackson com.fasterxml.jackson.databind.ObjectMapper.If you want to marshal a pojo to JSON, and the pojo has some fields with null values.AvroDataFormat.Builder.instanceClassName(String instanceClassName) Class name to use for marshal and unmarshallingWhen marshalling a POJO to JSON you might want to exclude certain fields from the JSON output.AvroDataFormat.Builder.jsonViewTypeName(String jsonViewTypeName) When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output.AvroDataFormat.Builder.library(AvroLibrary library) Which Avro library to use.AvroDataFormat.Builder.moduleClassNames(String moduleClassNames) To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as a String with FQN class names.AvroDataFormat.Builder.moduleRefs(String moduleRefs) To use custom Jackson modules referred from the Camel registry.AvroDataFormat.Builder.objectMapper(String objectMapper) Lookup and use the existing ObjectMapper with the given id when using Jackson.AvroDataFormat.Builder.schemaResolver(String schemaResolver) Optional schema resolver used to lookup schemas for the data in transit.If set then Jackson will use the Timezone when marshalling/unmarshalling.AvroDataFormat.Builder.unmarshalType(Class<?> unmarshalType) Class of the java type to use when unmarshallingAvroDataFormat.Builder.unmarshalTypeName(String unmarshalTypeName) Class name of the java type to use when unmarshallingAvroDataFormat.Builder.useDefaultObjectMapper(boolean useDefaultObjectMapper) Whether to lookup and use default Jackson ObjectMapper from the registry.AvroDataFormat.Builder.useDefaultObjectMapper(String useDefaultObjectMapper) Whether to lookup and use default Jackson ObjectMapper from the registry.AvroDataFormat.Builder.useList(boolean useList) To unmarshal to a List of Map or a List of Pojo.To unmarshal to a List of Map or a List of Pojo.