Uses of Class
org.apache.camel.model.dataformat.ProtobufDataFormat.Builder
Packages that use ProtobufDataFormat.Builder
Package
Description
The JAXB POJOs for the Data Formats used to marshal and
unmarshal objects to and from streams inside components
-
Uses of ProtobufDataFormat.Builder in org.apache.camel.builder
Methods in org.apache.camel.builder that return ProtobufDataFormat.BuilderModifier and TypeMethodDescriptionDataFormatBuilderFactory.protobuf()Uses the protobuf data format -
Uses of ProtobufDataFormat.Builder in org.apache.camel.model.dataformat
Methods in org.apache.camel.model.dataformat that return ProtobufDataFormat.BuilderModifier and TypeMethodDescriptionProtobufDataFormat.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.ProtobufDataFormat.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.ProtobufDataFormat.Builder.allowUnmarshallType(boolean allowUnmarshallType) If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling.ProtobufDataFormat.Builder.allowUnmarshallType(String allowUnmarshallType) If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling.ProtobufDataFormat.Builder.autoDiscoverObjectMapper(boolean autoDiscoverObjectMapper) If set to true then Jackson will lookup for an objectMapper into the registryProtobufDataFormat.Builder.autoDiscoverObjectMapper(String autoDiscoverObjectMapper) If set to true then Jackson will lookup for an objectMapper into the registryProtobufDataFormat.Builder.autoDiscoverSchemaResolver(boolean autoDiscoverSchemaResolver) When not disabled, the SchemaResolver will be looked up into the registryProtobufDataFormat.Builder.autoDiscoverSchemaResolver(String autoDiscoverSchemaResolver) When not disabled, the SchemaResolver will be looked up into the registryProtobufDataFormat.Builder.collectionType(Class<?> collectionType) ProtobufDataFormat.Builder.collectionTypeName(String collectionTypeName) Refers to a custom collection type to lookup in the registry to use.ProtobufDataFormat.Builder.contentTypeFormat(String contentTypeFormat) Defines a content type format in which protobuf message will be serialized/deserialized from(to) the Java been.ProtobufDataFormat.Builder.contentTypeHeader(boolean contentTypeHeader) ProtobufDataFormat.Builder.contentTypeHeader(String contentTypeHeader) ProtobufDataFormat.Builder.defaultInstance(Object defaultInstance) ProtobufDataFormat.Builder.disableFeatures(String disableFeatures) Set of features to disable on the Jackson com.fasterxml.jackson.databind.ObjectMapper.ProtobufDataFormat.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.ProtobufDataFormat.Builder.instanceClass(String instanceClass) Name of class to use when unmarshallingWhen marshalling a POJO to JSON you might want to exclude certain fields from the JSON output.ProtobufDataFormat.Builder.jsonViewTypeName(String jsonViewTypeName) When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output.ProtobufDataFormat.Builder.library(ProtobufLibrary library) Which Protobuf library to use.ProtobufDataFormat.Builder.moduleClassNames(String moduleClassNames) To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as a String with FQN class names.ProtobufDataFormat.Builder.moduleRefs(String moduleRefs) To use custom Jackson modules referred from the Camel registry.ProtobufDataFormat.Builder.objectMapper(String objectMapper) Lookup and use the existing ObjectMapper with the given id when using Jackson.ProtobufDataFormat.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.ProtobufDataFormat.Builder.unmarshalType(Class<?> unmarshalType) Class of the java type to use when unmarshallingProtobufDataFormat.Builder.unmarshalTypeName(String unmarshalTypeName) Class name of the java type to use when unmarshallingProtobufDataFormat.Builder.useDefaultObjectMapper(boolean useDefaultObjectMapper) Whether to lookup and use default Jackson ObjectMapper from the registry.ProtobufDataFormat.Builder.useDefaultObjectMapper(String useDefaultObjectMapper) Whether to lookup and use default Jackson ObjectMapper from the registry.ProtobufDataFormat.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.