Interface CamelDataFormatClause<T extends MessageProcessor.Builder<?,?>,S>
public interface CamelDataFormatClause<T extends MessageProcessor.Builder<?,?>,S>
-
Method Summary
Modifier and TypeMethodDescriptionAllowsnullas value of a body to unmarshall.allowNullBody(boolean allowNullBody) Indicates whethernullis allowed as value of a body to unmarshall.asn1()Uses the ASN.1 file data formatUses the ASN.1 file data formatUses the ASN.1 file data formatUses the ASN.1 file data formatavro()Uses the Avro data format with given unmarshalTypeUses the Avro data format with given unmarshalType and schemaResolverUses Avro data format with libraryUses Avro data format with the given unmarshalTypeUses the Avro data format with given library and unmarshalTypeUses the Avro data format with given library, unmarshalType and schemaResolverUses Avro data format with tje given library and schemaUses Avro data format with given library and unmarshalTypebase64()Uses the base64 data formatUses the base64 data formatUses the beanio data formatUses the beanio data formatbeanio(String mapping, String streamName, String encoding, boolean ignoreUnidentifiedRecords, boolean ignoreUnexpectedRecords, boolean ignoreInvalidRecords) Uses the beanio data formatUses the beanio data formatUses the Bindy data formatUses the Bindy data formatcbor()Uses the CBOR data formatUses the CBOR data formatcsv()Uses the CSV data formatUses the CSV data format for a huge file.Uses the custom data formatUses the DFDL data formatfhirJson()Uses the FHIR JSON data formatfhirJson(boolean prettyPrint) fhirXml()Uses the FHIR XML data formatfhirXml(boolean prettyPrint) fory()Use the Fory data formatUse the Fory data format with the given unmarshalTypeUses the Grok data formatUses the GZIP deflater data formathl7()Uses the HL7 data formathl7(boolean validate) Uses the HL7 data formatUses the HL7 data formatical(boolean validating) Uses the iCal data formatUses the Jackson XML data formatjacksonXml(boolean prettyPrint) Uses the Jackson XML data format using the Jackson library turning pretty printing on or offjacksonXml(Class<?> unmarshalType) Uses the Jackson XML data formatjacksonXml(Class<?> unmarshalType, boolean prettyPrint) Uses the Jackson XML data formatjacksonXml(Class<?> unmarshalType, Class<?> jsonView) Uses the Jackson XML data formatjacksonXml(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint) Uses the Jackson XML data formatjacksonXml(Class<?> unmarshalType, Class<?> jsonView, String include) Uses the Jackson XML data formatjacksonXml(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint) Uses the Jackson XML data formatjaxb()Uses the JAXB data formatjaxb(boolean prettyPrint) Uses the JAXB data format turning pretty printing on or offUses the JAXB data format with context pathjson()Uses the JSON data format using the Jackson libraryjson(boolean prettyPrint) Uses the JSON data format using the Jackson library turning pretty printing on or offUses the Jackson JSON data formatUses the Jackson JSON data formatUses the Jackson JSON data formatUses the Jackson JSON data formatUses the Jackson JSON data formatUses the JSON data formatUses the JSON data formatUses the JSON data formatUses the JSON data formatjsonApi()Uses the JSON API data formatlzf()Uses the LZF deflater data formatUses the MIME Multipart data formatmimeMultipart(boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent) Uses the MIME Multipart data formatmimeMultipart(String multipartSubType) Uses the MIME Multipart data formatmimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent) Uses the MIME Multipart data formatmimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, String includeHeaders, boolean binaryContent) Uses the MIME Multipart data formatUses the parquet-avro file data formatparquetAvro(Class<?> unmarshalType) Uses the parquet-avro file data formatparquetAvro(String unmarshalType) Uses the parquet-avro file data formatUses the PGP data formatUses the PGP data formatUses the PGP data formatprotobuf()Uses the protobuf data formatUses the Protobuf data format with given library or instance class name.Uses the Protobuf data format with given library and unmarshalTypeUses the Protobuf data format with given library, unmarshalType and schemaResolverrss()Uses the RSS data formatUses the Smooks data formatsoap()Uses the Soap v1.1 data formatUses the Soap v1.1 data formatUses the Soap v1.1 data formatUses the Soap v1.1 data formatsoap12()Uses the Soap v1.2 data formatUses the Soap v1.2 data formatUses the Soap v1.2 data formatUses the Soap v1.2 data formatswiftMt()Uses the SWIFT MT data formatswiftMt(boolean writeInJson) Uses the SWIFT MT data format.swiftMx()Uses the SWIFT MX data formatswiftMx(boolean writeInJson) Uses the SWIFT MX data format.Uses the SWIFT MX data format.Uses the SWIFT MX data format.Uses the SWIFT MX data format.Uses the SWIFT MX data format.syslog()Uses the Syslog data formattarFile()Uses the Tar file data formatthrift()Uses the Thrift data formatReturn TidyMarkup in the default format asNodetidyMarkup(Class<?> dataObjectType) variableSend(String variableSend) To use a variable as the source for the message body to send.xmlSecurity(byte[] passPhraseByte) Uses the XML Security data formatxmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte) Uses the XML Security data formatxmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm) Uses the XML Security data formatxmlSecurity(String secureTag, boolean secureTagContents, String passPhrase) Uses the XML Security data formatxmlSecurity(String secureTag, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm) Uses the XML Security data formatxmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters) Uses the XML Security data formatxmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters, String keyPassword) Uses the XML Security data formatxmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId) Uses the XML Security data formatxmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, byte[] passPhraseByte) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String passPhrase) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters, String keyPassword) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters, String keyPassword, String digestAlgorithm) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId) Uses the XML Security data formatxmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword) Uses the XML Security data formatUses the YAML data formatUses the YAML data formatUses the ZIP deflater data formatzipDeflater(int compressionLevel) Uses the ZIP deflater data formatzipFile()Uses the ZIP file data format
-
Method Details
-
avro
T avro() -
avro
Uses Avro data format with tje given library and schema -
avro
Uses Avro data format with the given unmarshalType -
avro
Uses Avro data format with given library and unmarshalType -
avro
Uses Avro data format with library -
avro
Uses the Avro data format with given unmarshalType -
avro
Uses the Avro data format with given library and unmarshalType -
avro
Uses the Avro data format with given unmarshalType and schemaResolver -
avro
Uses the Avro data format with given library, unmarshalType and schemaResolver -
base64
T base64()Uses the base64 data format -
base64
Uses the base64 data format -
beanio
Uses the beanio data format -
beanio
Uses the beanio data format -
beanio
T beanio(String mapping, String streamName, String encoding, boolean ignoreUnidentifiedRecords, boolean ignoreUnexpectedRecords, boolean ignoreInvalidRecords) Uses the beanio data format -
beanio
Uses the beanio data format -
bindy
Uses the Bindy data format- Parameters:
type- the type of bindy data format to useclassType- the POJO class type
-
bindy
Uses the Bindy data format- Parameters:
type- the type of bindy data format to useclassType- the POJO class typeunwrapSingleInstance- whether unmarshal should unwrap if there is a single instance in the result
-
cbor
T cbor()Uses the CBOR data format -
cbor
Uses the CBOR data format- Parameters:
unmarshalType- unmarshal type for cbor type
-
csv
T csv()Uses the CSV data format -
csvLazyLoad
T csvLazyLoad()Uses the CSV data format for a huge file. Sequential access through an iterator. -
custom
Uses the custom data format -
dfdl
Uses the DFDL data format -
fory
T fory()Use the Fory data format -
fory
Use the Fory data format with the given unmarshalType -
grok
Uses the Grok data format -
gzipDeflater
T gzipDeflater()Uses the GZIP deflater data format -
hl7
T hl7()Uses the HL7 data format -
hl7
Uses the HL7 data format -
hl7
Uses the HL7 data format -
ical
Uses the iCal data format -
lzf
T lzf()Uses the LZF deflater data format -
mimeMultipart
T mimeMultipart()Uses the MIME Multipart data format -
mimeMultipart
Uses the MIME Multipart data format- Parameters:
multipartSubType- Specifies the subtype of the MIME Multipart
-
mimeMultipart
T mimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent) Uses the MIME Multipart data format- Parameters:
multipartSubType- the subtype of the MIME MultipartmultipartWithoutAttachment- defines whether a message without attachment is also marshaled into a MIME Multipart (with only one body part).headersInline- define the MIME Multipart headers as part of the message body or as Camel headersbinaryContent- have binary encoding for binary content (true) or use Base-64 encoding for binary content (false)
-
mimeMultipart
T mimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, String includeHeaders, boolean binaryContent) Uses the MIME Multipart data format- Parameters:
multipartSubType- the subtype of the MIME MultipartmultipartWithoutAttachment- defines whether a message without attachment is also marshaled into a MIME Multipart (with only one body part).headersInline- define the MIME Multipart headers as part of the message body or as Camel headersincludeHeaders- if headersInline is set to true all camel headers matching this regex are also stored as MIME headers on the MultipartbinaryContent- have binary encoding for binary content (true) or use Base-64 encoding for binary content (false)
-
mimeMultipart
Uses the MIME Multipart data format- Parameters:
multipartWithoutAttachment- defines whether a message without attachment is also marshaled into a MIME Multipart (with only one body part).headersInline- define the MIME Multipart headers as part of the message body or as Camel headersbinaryContent- have binary encoding for binary content (true) or use Base-64 encoding for binary content (false)
-
pgp
Uses the PGP data format -
pgp
Uses the PGP data format -
pgp
Uses the PGP data format -
jacksonXml
T jacksonXml()Uses the Jackson XML data format -
jacksonXml
Uses the Jackson XML data format- Parameters:
unmarshalType- unmarshal type for xml jackson type
-
jacksonXml
Uses the Jackson XML data format- Parameters:
unmarshalType- unmarshal type for xml jackson typejsonView- the view type for xml jackson type
-
jacksonXml
Uses the Jackson XML data format using the Jackson library turning pretty printing on or off- Parameters:
prettyPrint- turn pretty printing on or off
-
jacksonXml
Uses the Jackson XML data format- Parameters:
unmarshalType- unmarshal type for xml jackson typeprettyPrint- turn pretty printing on or off
-
jacksonXml
Uses the Jackson XML data format- Parameters:
unmarshalType- unmarshal type for xml jackson typejsonView- the view type for xml jackson typeprettyPrint- turn pretty printing on or off
-
jacksonXml
Uses the Jackson XML data format- Parameters:
unmarshalType- unmarshal type for xml jackson typejsonView- the view type for xml jackson typeinclude- include such as ALWAYS, NON_NULL, etc.
-
jacksonXml
Uses the Jackson XML data format- Parameters:
unmarshalType- unmarshal type for xml jackson typejsonView- the view type for xml jackson typeinclude- include such as ALWAYS, NON_NULL, etc.prettyPrint- turn pretty printing on or off
-
jaxb
T jaxb()Uses the JAXB data format -
jaxb
Uses the JAXB data format with context path -
jaxb
Uses the JAXB data format turning pretty printing on or off -
json
T json()Uses the JSON data format using the Jackson library -
json
Uses the JSON data format using the Jackson library turning pretty printing on or off- Parameters:
prettyPrint- turn pretty printing on or off
-
json
Uses the JSON data format- Parameters:
library- the json library to use
-
json
Uses the JSON data format- Parameters:
library- the json library to useprettyPrint- turn pretty printing on or off
-
json
Uses the JSON data format- Parameters:
type- the json type to useunmarshalType- unmarshal type for json jackson type
-
json
Uses the JSON data format- Parameters:
type- the json type to useunmarshalType- unmarshal type for json jackson typeprettyPrint- turn pretty printing on or off
-
json
Uses the Jackson JSON data format- Parameters:
unmarshalType- unmarshal type for json jackson type
-
json
Uses the Jackson JSON data format- Parameters:
unmarshalType- unmarshal type for json jackson typejsonView- the view type for json jackson type
-
json
Uses the Jackson JSON data format- Parameters:
unmarshalType- unmarshal type for json jackson typejsonView- the view type for json jackson typeprettyPrint- turn pretty printing on or off
-
json
Uses the Jackson JSON data format- Parameters:
unmarshalType- unmarshal type for json jackson typejsonView- the view type for json jackson typeinclude- include such as ALWAYS, NON_NULL, etc.
-
json
Uses the Jackson JSON data format- Parameters:
unmarshalType- unmarshal type for json jackson typejsonView- the view type for json jackson typeinclude- include such as ALWAYS, NON_NULL, etc.prettyPrint- turn pretty printing on or off
-
jsonApi
T jsonApi()Uses the JSON API data format -
protobuf
T protobuf()Uses the protobuf data format -
protobuf
-
protobuf
-
protobuf
-
protobuf
Uses the Protobuf data format with given library or instance class name. -
protobuf
Uses the Protobuf data format with given library and unmarshalType -
protobuf
Uses the Protobuf data format with given library, unmarshalType and schemaResolver -
rss
T rss()Uses the RSS data format -
smooks
Uses the Smooks data format -
soap
T soap()Uses the Soap v1.1 data format -
soap
Uses the Soap v1.1 data format -
soap
Uses the Soap v1.1 data format -
soap
Uses the Soap v1.1 data format -
soap12
T soap12()Uses the Soap v1.2 data format -
soap12
Uses the Soap v1.2 data format -
soap12
Uses the Soap v1.2 data format -
soap12
Uses the Soap v1.2 data format -
swiftMx
T swiftMx()Uses the SWIFT MX data format -
swiftMx
Uses the SWIFT MX data format. -
swiftMx
Uses the SWIFT MX data format. -
swiftMx
Uses the SWIFT MX data format. -
swiftMx
Uses the SWIFT MX data format. -
swiftMx
Uses the SWIFT MX data format. -
swiftMt
T swiftMt()Uses the SWIFT MT data format -
swiftMt
Uses the SWIFT MT data format. -
syslog
T syslog()Uses the Syslog data format -
thrift
T thrift()Uses the Thrift data format -
thrift
-
thrift
-
thrift
-
thrift
-
tidyMarkup
-
tidyMarkup
T tidyMarkup()Return TidyMarkup in the default format asNode -
yaml
Uses the YAML data format- Parameters:
library- the yaml library to use
-
yaml
Uses the YAML data format- Parameters:
library- the yaml type to usetype- the type for json snakeyaml type
-
xmlSecurity
Uses the XML Security data format -
xmlSecurity
Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String passPhrase) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm) Uses the XML Security data format -
xmlSecurity
Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, byte[] passPhraseByte) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters, String keyPassword) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters, String keyPassword) Uses the XML Security data format -
xmlSecurity
T xmlSecurity(String secureTag, Map<String, String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, Object keyOrTrustStoreParameters, String keyPassword, String digestAlgorithm) Uses the XML Security data format -
tarFile
T tarFile()Uses the Tar file data format -
zipDeflater
T zipDeflater()Uses the ZIP deflater data format -
zipDeflater
Uses the ZIP deflater data format -
zipFile
T zipFile()Uses the ZIP file data format -
asn1
T asn1()Uses the ASN.1 file data format -
asn1
Uses the ASN.1 file data format -
asn1
Uses the ASN.1 file data format -
asn1
Uses the ASN.1 file data format -
parquetAvro
T parquetAvro()Uses the parquet-avro file data format -
parquetAvro
Uses the parquet-avro file data format -
parquetAvro
Uses the parquet-avro file data format -
fhirJson
T fhirJson()Uses the FHIR JSON data format -
fhirJson
-
fhirJson
-
fhirJson
-
fhirXml
T fhirXml()Uses the FHIR XML data format -
fhirXml
-
fhirXml
-
fhirXml
-
allowNullBody
S allowNullBody()Allowsnullas value of a body to unmarshall.- Returns:
- the builder
-
allowNullBody
Indicates whethernullis allowed as value of a body to unmarshall.- Parameters:
allowNullBody-trueifnullis allowed as value of a body to unmarshall,falseotherwise- Returns:
- the builder
-
variableSend
To use a variable as the source for the message body to send. This makes it handy to use variables for user data and to easily control what data to use for sending and receiving. Important: When using send variable then the message body is taken from this variable instead of the current Message , however the headers from the Message will still be used as well. In other words, the variable is used instead of the message body, but everything else is as usual.
-