Package org.apache.camel.builder
Class DataFormatClause<T extends ProcessorDefinition<?>>
- java.lang.Object
-
- org.apache.camel.builder.DataFormatClause<T>
-
public class DataFormatClause<T extends ProcessorDefinition<?>> extends Object
An expression for constructing the different possibleDataFormat
options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataFormatClause.Operation
DataFormat
operations.
-
Constructor Summary
Constructors Constructor Description DataFormatClause(T processorType, DataFormatClause.Operation operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFormatClause<T>
allowNullBody()
Allowsnull
as value of a body to unmarshall.DataFormatClause<T>
allowNullBody(boolean allowNullBody)
Indicates whethernull
is allowed as value of a body to unmarshall.T
any23(String baseuri)
Uses the Any23 data formatT
any23(String baseuri, Any23Type outputformat)
T
any23(String baseuri, Any23Type outputformat, Map<String,String> configurations)
T
any23(String baseuri, Any23Type outputformat, Map<String,String> configurations, List<String> extractors)
T
asn1()
Uses the ASN.1 file data formatT
asn1(Boolean usingIterator)
Uses the ASN.1 file data formatT
asn1(Class<?> unmarshalType)
Uses the ASN.1 file data formatT
asn1(String unmarshalType)
Uses the ASN.1 file data formatT
avro()
Uses the Avro data formatT
avro(Class<?> unmarshalType)
Uses the Avro data format with given unmarshalTypeT
avro(Object schema)
T
avro(String instanceClassName)
T
avro(AvroLibrary library)
Uses Avro data format with libraryT
avro(AvroLibrary library, Class<?> unmarshalType)
Uses the Avro data format with given library and unmarshalTypeT
avro(AvroLibrary library, Class<?> unmarshalType, String schemaResolver)
Uses the Avro data format with given library, unmarshalType and schemaResolverT
base64()
Uses the base64 data formatT
base64(int lineLength, String lineSeparator, boolean urlSafe)
Uses the base64 data formatT
bindy(BindyType type, Class<?> classType)
Uses the Bindy data formatT
bindy(BindyType type, Class<?> classType, boolean unwrapSingleInstance)
Uses the Bindy data formatT
cbor()
Uses the CBOR data formatT
cbor(Class<?> unmarshalType)
Uses the CBOR data formatT
csv()
Uses the CSV data formatT
csvLazyLoad()
Uses the CSV data format for a huge file.T
custom(String ref)
Uses the custom data formatT
fhirJson()
Uses the FHIR JSON data formatT
fhirJson(boolean prettyPrint)
T
fhirJson(String version)
T
fhirJson(String version, boolean prettyPrint)
T
fhirXml()
Uses the FHIR XML data formatT
fhirXml(boolean prettyPrint)
T
fhirXml(String version)
T
fhirXml(String version, boolean prettyPrint)
T
grok(String pattern)
Uses the Grok data formatT
gzipDeflater()
Uses the GZIP deflater data formatT
hl7()
Uses the HL7 data formatT
hl7(boolean validate)
Uses the HL7 data formatT
hl7(Object parser)
Uses the HL7 data formatT
ical(boolean validating)
Uses the iCal data formatT
jacksonXml()
Uses the Jackson XML data formatT
jacksonXml(boolean prettyPrint)
Uses the Jackson XML data format using the Jackson library turning pretty printing on or offT
jacksonXml(Class<?> unmarshalType)
Uses the Jackson XML data formatT
jacksonXml(Class<?> unmarshalType, boolean prettyPrint)
Uses the Jackson XML data formatT
jacksonXml(Class<?> unmarshalType, Class<?> jsonView)
Uses the Jackson XML data formatT
jacksonXml(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint)
Uses the Jackson XML data formatT
jacksonXml(Class<?> unmarshalType, Class<?> jsonView, String include)
Uses the Jackson XML data formatT
jacksonXml(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint)
Uses the Jackson XML data formatT
jaxb()
Uses the JAXB data formatT
jaxb(boolean prettyPrint)
Uses the JAXB data format turning pretty printing on or offT
jaxb(String contextPath)
Uses the JAXB data format with context pathT
json()
Uses the JSON data format using the Jackson libraryT
json(boolean prettyPrint)
Uses the JSON data format using the Jackson library turning pretty printing on or offT
json(Class<?> unmarshalType)
Uses the Jackson JSON data formatT
json(Class<?> unmarshalType, Class<?> jsonView)
Uses the Jackson JSON data formatT
json(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint)
Uses the Jackson JSON data formatT
json(Class<?> unmarshalType, Class<?> jsonView, String include)
Uses the Jackson JSON data formatT
json(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint)
Uses the Jackson JSON data formatT
json(JsonLibrary library)
Uses the JSON data formatT
json(JsonLibrary library, boolean prettyPrint)
Uses the JSON data formatT
json(JsonLibrary type, Class<?> unmarshalType)
Uses the JSON data formatT
json(JsonLibrary type, Class<?> unmarshalType, boolean prettyPrint)
Uses the JSON data formatT
jsonApi()
Uses the JSON API data formatT
lzf()
Uses the LZF deflater data formatT
mimeMultipart()
Uses the MIME Multipart data formatT
mimeMultipart(boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent)
Uses the MIME Multipart data formatT
mimeMultipart(String multipartSubType)
Uses the MIME Multipart data formatT
mimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent)
Uses the MIME Multipart data formatT
mimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, String includeHeaders, boolean binaryContent)
Uses the MIME Multipart data formatT
pgp(String keyFileName, String keyUserid)
Uses the PGP data formatT
pgp(String keyFileName, String keyUserid, String password)
Uses the PGP data formatT
pgp(String keyFileName, String keyUserid, String password, boolean armored, boolean integrity)
Uses the PGP data formatT
protobuf()
Uses the protobuf data formatT
protobuf(Object defaultInstance)
T
protobuf(Object defaultInstance, String contentTypeFormat)
T
protobuf(String instanceClassName)
T
protobuf(String instanceClassName, String contentTypeFormat)
T
protobuf(ProtobufLibrary library)
Uses the Protobuf data format with given libraryT
protobuf(ProtobufLibrary library, Class<?> unmarshalType)
Uses the Protobuf data format with given library and unmarshalTypeT
protobuf(ProtobufLibrary library, Class<?> unmarshalType, String schemaResolver)
Uses the Protobuf data format with given library, unmarshalType and schemaResolverT
rss()
Uses the RSS data formatT
soap()
Uses the Soap v1.1 data formatT
soap(String contextPath)
Uses the Soap v1.1 data formatT
soap(String contextPath, Object elementNameStrategy)
Uses the Soap v1.1 data formatT
soap(String contextPath, String elementNameStrategyRef)
Uses the Soap v1.1 data formatT
soap12()
Uses the Soap v1.2 data formatT
soap12(String contextPath)
Uses the Soap v1.2 data formatT
soap12(String contextPath, Object elementNameStrategy)
Uses the Soap v1.2 data formatT
soap12(String contextPath, String elementNameStrategyRef)
Uses the Soap v1.2 data formatT
swiftMt()
Uses the SWIFT MT data formatT
swiftMt(boolean writeInJson)
Uses the SWIFT MT data format.T
swiftMx()
Uses the SWIFT MX data formatT
swiftMx(boolean writeInJson)
Uses the SWIFT MX data format.T
swiftMx(boolean writeInJson, String readMessageId, Object readConfig)
Uses the SWIFT MX data format.T
swiftMx(boolean writeInJson, String readMessageId, String readConfigRef)
Uses the SWIFT MX data format.T
swiftMx(Object writeConfig, String readMessageId, Object readConfig)
Uses the SWIFT MX data format.T
swiftMx(String writeConfigRef, String readMessageId, String readConfigRef)
Uses the SWIFT MX data format.T
syslog()
Uses the Syslog data formatT
tarFile()
Uses the Tar file data formatT
thrift()
Uses the Thrift data formatT
thrift(Object defaultInstance)
T
thrift(Object defaultInstance, String contentTypeFormat)
T
thrift(String instanceClassName)
T
thrift(String instanceClassName, String contentTypeFormat)
T
tidyMarkup()
Return TidyMarkup in the default format asNode
T
tidyMarkup(Class<?> dataObjectType)
T
xmlSecurity(byte[] passPhraseByte)
Uses the XML Security data formatT
xmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte)
Uses the XML Security data formatT
xmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm)
Uses the XML Security data formatT
xmlSecurity(String secureTag, boolean secureTagContents, String passPhrase)
Uses the XML Security data formatT
xmlSecurity(String secureTag, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
Uses the XML Security data formatT
xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
Uses the XML Security data formatT
xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
Uses the XML Security data formatT
xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
Uses the XML Security data formatT
xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhraseByte)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
Uses the XML Security data formatT
xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword, String digestAlgorithm)
Uses the XML Security data formatT
xstream()
Uses the XStream data format.T
xstream(Class<?> type)
Uses the xstream by permitting the java typeT
xstream(String encodingOrPermission)
Uses the xstream by setting the encoding or permissionT
xstream(String encoding, Class<?>... type)
Uses the xstream by permitting the java typeT
xstream(String encoding, String permission)
Uses the xstream by setting the encodingT
yaml(YAMLLibrary library)
Uses the YAML data formatT
yaml(YAMLLibrary library, Class<?> type)
Uses the YAML data formatT
zipDeflater()
Uses the ZIP deflater data formatT
zipDeflater(int compressionLevel)
Uses the ZIP deflater data formatT
zipFile()
Uses the ZIP file data format
-
-
-
Constructor Detail
-
DataFormatClause
public DataFormatClause(T processorType, DataFormatClause.Operation operation)
-
-
Method Detail
-
any23
public T any23(String baseuri, Any23Type outputformat, Map<String,String> configurations, List<String> extractors)
-
avro
public T avro()
Uses the Avro data format
-
avro
public T avro(AvroLibrary library)
Uses Avro data format with library
-
avro
public T avro(AvroLibrary library, Class<?> unmarshalType)
Uses the Avro data format with given library and unmarshalType
-
avro
public T avro(AvroLibrary library, Class<?> unmarshalType, String schemaResolver)
Uses the Avro data format with given library, unmarshalType and schemaResolver
-
base64
public T base64()
Uses the base64 data format
-
base64
public T base64(int lineLength, String lineSeparator, boolean urlSafe)
Uses the base64 data format
-
bindy
public T bindy(BindyType type, Class<?> classType)
Uses the Bindy data format- Parameters:
type
- the type of bindy data format to useclassType
- the POJO class type
-
bindy
public T bindy(BindyType type, Class<?> classType, boolean unwrapSingleInstance)
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
public T cbor()
Uses the CBOR data format
-
cbor
public T cbor(Class<?> unmarshalType)
Uses the CBOR data format- Parameters:
unmarshalType
- unmarshal type for cbor type
-
csv
public T csv()
Uses the CSV data format
-
csvLazyLoad
public T csvLazyLoad()
Uses the CSV data format for a huge file. Sequential access through an iterator.
-
gzipDeflater
public T gzipDeflater()
Uses the GZIP deflater data format
-
hl7
public T hl7()
Uses the HL7 data format
-
hl7
public T hl7(boolean validate)
Uses the HL7 data format
-
ical
public T ical(boolean validating)
Uses the iCal data format
-
lzf
public T lzf()
Uses the LZF deflater data format
-
mimeMultipart
public T mimeMultipart()
Uses the MIME Multipart data format
-
mimeMultipart
public T mimeMultipart(String multipartSubType)
Uses the MIME Multipart data format- Parameters:
multipartSubType
- Specifies the subtype of the MIME Multipart
-
mimeMultipart
public 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
public 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
public T mimeMultipart(boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent)
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
public T pgp(String keyFileName, String keyUserid, String password, boolean armored, boolean integrity)
Uses the PGP data format
-
jacksonXml
public T jacksonXml()
Uses the Jackson XML data format
-
jacksonXml
public T jacksonXml(Class<?> unmarshalType)
Uses the Jackson XML data format- Parameters:
unmarshalType
- unmarshal type for xml jackson type
-
jacksonXml
public T jacksonXml(Class<?> unmarshalType, Class<?> jsonView)
Uses the Jackson XML data format- Parameters:
unmarshalType
- unmarshal type for xml jackson typejsonView
- the view type for xml jackson type
-
jacksonXml
public T jacksonXml(boolean prettyPrint)
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
public T jacksonXml(Class<?> unmarshalType, boolean prettyPrint)
Uses the Jackson XML data format- Parameters:
unmarshalType
- unmarshal type for xml jackson typeprettyPrint
- turn pretty printing on or off
-
jacksonXml
public T jacksonXml(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint)
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
public T jacksonXml(Class<?> unmarshalType, Class<?> jsonView, String include)
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
public T jacksonXml(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint)
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
public T jaxb()
Uses the JAXB data format
-
jaxb
public T jaxb(boolean prettyPrint)
Uses the JAXB data format turning pretty printing on or off
-
json
public T json()
Uses the JSON data format using the Jackson library
-
json
public T json(boolean prettyPrint)
Uses the JSON data format using the Jackson library turning pretty printing on or off- Parameters:
prettyPrint
- turn pretty printing on or off
-
json
public T json(JsonLibrary library)
Uses the JSON data format- Parameters:
library
- the json library to use
-
json
public T json(JsonLibrary library, boolean prettyPrint)
Uses the JSON data format- Parameters:
library
- the json library to useprettyPrint
- turn pretty printing on or off
-
json
public T json(JsonLibrary type, Class<?> unmarshalType)
Uses the JSON data format- Parameters:
type
- the json type to useunmarshalType
- unmarshal type for json jackson type
-
json
public T json(JsonLibrary type, Class<?> unmarshalType, boolean prettyPrint)
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
public T json(Class<?> unmarshalType)
Uses the Jackson JSON data format- Parameters:
unmarshalType
- unmarshal type for json jackson type
-
json
public T json(Class<?> unmarshalType, Class<?> jsonView)
Uses the Jackson JSON data format- Parameters:
unmarshalType
- unmarshal type for json jackson typejsonView
- the view type for json jackson type
-
json
public T json(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint)
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
public T json(Class<?> unmarshalType, Class<?> jsonView, String include)
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
public T json(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint)
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
public T jsonApi()
Uses the JSON API data format
-
protobuf
public T protobuf()
Uses the protobuf data format
-
protobuf
public T protobuf(ProtobufLibrary library)
Uses the Protobuf data format with given library
-
protobuf
public T protobuf(ProtobufLibrary library, Class<?> unmarshalType)
Uses the Protobuf data format with given library and unmarshalType
-
protobuf
public T protobuf(ProtobufLibrary library, Class<?> unmarshalType, String schemaResolver)
Uses the Protobuf data format with given library, unmarshalType and schemaResolver
-
rss
public T rss()
Uses the RSS data format
-
soap
public T soap()
Uses the Soap v1.1 data format
-
soap
public T soap(String contextPath, String elementNameStrategyRef)
Uses the Soap v1.1 data format
-
soap12
public T soap12()
Uses the Soap v1.2 data format
-
soap12
public T soap12(String contextPath, String elementNameStrategyRef)
Uses the Soap v1.2 data format
-
soap12
public T soap12(String contextPath, Object elementNameStrategy)
Uses the Soap v1.2 data format
-
swiftMx
public T swiftMx()
Uses the SWIFT MX data format
-
swiftMx
public T swiftMx(boolean writeInJson)
Uses the SWIFT MX data format.
-
swiftMx
public T swiftMx(boolean writeInJson, String readMessageId, Object readConfig)
Uses the SWIFT MX data format.
-
swiftMx
public T swiftMx(boolean writeInJson, String readMessageId, String readConfigRef)
Uses the SWIFT MX data format.
-
swiftMx
public T swiftMx(Object writeConfig, String readMessageId, Object readConfig)
Uses the SWIFT MX data format.
-
swiftMx
public T swiftMx(String writeConfigRef, String readMessageId, String readConfigRef)
Uses the SWIFT MX data format.
-
swiftMt
public T swiftMt()
Uses the SWIFT MT data format
-
swiftMt
public T swiftMt(boolean writeInJson)
Uses the SWIFT MT data format.
-
syslog
public T syslog()
Uses the Syslog data format
-
thrift
public T thrift()
Uses the Thrift data format
-
xstream
public T xstream()
Uses the XStream data format. Favor usingxstream(String)
to pass in a permission
-
xstream
public T xstream(String encodingOrPermission)
Uses the xstream by setting the encoding or permission- Parameters:
encodingOrPermission
- is either an encoding or permission syntax
-
xstream
public T xstream(String encoding, String permission)
Uses the xstream by setting the encoding
-
xstream
public T xstream(Class<?> type)
Uses the xstream by permitting the java type- Parameters:
type
- the pojo xstream should use as allowed permission
-
xstream
public T xstream(String encoding, Class<?>... type)
Uses the xstream by permitting the java type- Parameters:
encoding
- encoding to usetype
- the pojo class(es) xstream should use as allowed permission
-
yaml
public T yaml(YAMLLibrary library)
Uses the YAML data format- Parameters:
library
- the yaml library to use
-
yaml
public T yaml(YAMLLibrary library, Class<?> type)
Uses the YAML data format- Parameters:
library
- the yaml type to usetype
- the type for json snakeyaml type
-
xmlSecurity
public T xmlSecurity(byte[] passPhraseByte)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, boolean secureTagContents, String passPhrase)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhraseByte)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
Uses the XML Security data format
-
xmlSecurity
public 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
public 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
public T xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)
Uses the XML Security data format
-
xmlSecurity
public T xmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword, String digestAlgorithm)
Uses the XML Security data format
-
tarFile
public T tarFile()
Uses the Tar file data format
-
zipDeflater
public T zipDeflater()
Uses the ZIP deflater data format
-
zipDeflater
public T zipDeflater(int compressionLevel)
Uses the ZIP deflater data format
-
zipFile
public T zipFile()
Uses the ZIP file data format
-
asn1
public T asn1()
Uses the ASN.1 file data format
-
fhirJson
public T fhirJson()
Uses the FHIR JSON data format
-
fhirJson
public T fhirJson(boolean prettyPrint)
-
fhirXml
public T fhirXml()
Uses the FHIR XML data format
-
fhirXml
public T fhirXml(boolean prettyPrint)
-
allowNullBody
public DataFormatClause<T> allowNullBody()
Allowsnull
as value of a body to unmarshall.- Returns:
- the builder
-
allowNullBody
public DataFormatClause<T> allowNullBody(boolean allowNullBody)
Indicates whethernull
is allowed as value of a body to unmarshall.- Parameters:
allowNullBody
-true
ifnull
is allowed as value of a body to unmarshall,false
otherwise- Returns:
- the builder
-
-