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 possibleDataFormatoptions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataFormatClause.OperationDataFormatoperations.
-
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()Allowsnullas value of a body to unmarshall.DataFormatClause<T>allowNullBody(boolean allowNullBody)Indicates whethernullis allowed as value of a body to unmarshall.Tany23(String baseuri)Uses the Any23 data formatTany23(String baseuri, Any23Type outputformat)Tany23(String baseuri, Any23Type outputformat, Map<String,String> configurations)Tany23(String baseuri, Any23Type outputformat, Map<String,String> configurations, List<String> extractors)Tasn1()Uses the ASN.1 file data formatTasn1(Boolean usingIterator)Uses the ASN.1 file data formatTasn1(Class<?> unmarshalType)Uses the ASN.1 file data formatTasn1(String unmarshalType)Uses the ASN.1 file data formatTavro()Uses the Avro data formatTavro(Class<?> unmarshalType)Uses the Avro data format with given unmarshalTypeTavro(Object schema)Tavro(String instanceClassName)Tavro(AvroLibrary library)Uses Avro data format with libraryTavro(AvroLibrary library, Class<?> unmarshalType)Uses the Avro data format with given library and unmarshalTypeTavro(AvroLibrary library, Class<?> unmarshalType, String schemaResolver)Uses the Avro data format with given library, unmarshalType and schemaResolverTbase64()Uses the base64 data formatTbase64(int lineLength, String lineSeparator, boolean urlSafe)Uses the base64 data formatTbindy(BindyType type, Class<?> classType)Uses the Bindy data formatTbindy(BindyType type, Class<?> classType, boolean unwrapSingleInstance)Uses the Bindy data formatTcbor()Uses the CBOR data formatTcbor(Class<?> unmarshalType)Uses the CBOR data formatTcsv()Uses the CSV data formatTcsvLazyLoad()Uses the CSV data format for a huge file.Tcustom(String ref)Uses the custom data formatTfhirJson()Uses the FHIR JSON data formatTfhirJson(boolean prettyPrint)TfhirJson(String version)TfhirJson(String version, boolean prettyPrint)TfhirXml()Uses the FHIR XML data formatTfhirXml(boolean prettyPrint)TfhirXml(String version)TfhirXml(String version, boolean prettyPrint)Tgrok(String pattern)Uses the Grok data formatTgzipDeflater()Uses the GZIP deflater data formatThl7()Uses the HL7 data formatThl7(boolean validate)Uses the HL7 data formatThl7(Object parser)Uses the HL7 data formatTical(boolean validating)Uses the iCal data formatTjacksonXml()Uses the Jackson XML data formatTjacksonXml(boolean prettyPrint)Uses the Jackson XML data format using the Jackson library turning pretty printing on or offTjacksonXml(Class<?> unmarshalType)Uses the Jackson XML data formatTjacksonXml(Class<?> unmarshalType, boolean prettyPrint)Uses the Jackson XML data formatTjacksonXml(Class<?> unmarshalType, Class<?> jsonView)Uses the Jackson XML data formatTjacksonXml(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint)Uses the Jackson XML data formatTjacksonXml(Class<?> unmarshalType, Class<?> jsonView, String include)Uses the Jackson XML data formatTjacksonXml(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint)Uses the Jackson XML data formatTjaxb()Uses the JAXB data formatTjaxb(boolean prettyPrint)Uses the JAXB data format turning pretty printing on or offTjaxb(String contextPath)Uses the JAXB data format with context pathTjson()Uses the JSON data format using the Jackson libraryTjson(boolean prettyPrint)Uses the JSON data format using the Jackson library turning pretty printing on or offTjson(Class<?> unmarshalType)Uses the Jackson JSON data formatTjson(Class<?> unmarshalType, Class<?> jsonView)Uses the Jackson JSON data formatTjson(Class<?> unmarshalType, Class<?> jsonView, boolean prettyPrint)Uses the Jackson JSON data formatTjson(Class<?> unmarshalType, Class<?> jsonView, String include)Uses the Jackson JSON data formatTjson(Class<?> unmarshalType, Class<?> jsonView, String include, boolean prettyPrint)Uses the Jackson JSON data formatTjson(JsonLibrary library)Uses the JSON data formatTjson(JsonLibrary library, boolean prettyPrint)Uses the JSON data formatTjson(JsonLibrary type, Class<?> unmarshalType)Uses the JSON data formatTjson(JsonLibrary type, Class<?> unmarshalType, boolean prettyPrint)Uses the JSON data formatTjsonApi()Uses the JSON API data formatTlzf()Uses the LZF deflater data formatTmimeMultipart()Uses the MIME Multipart data formatTmimeMultipart(boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent)Uses the MIME Multipart data formatTmimeMultipart(String multipartSubType)Uses the MIME Multipart data formatTmimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, boolean binaryContent)Uses the MIME Multipart data formatTmimeMultipart(String multipartSubType, boolean multipartWithoutAttachment, boolean headersInline, String includeHeaders, boolean binaryContent)Uses the MIME Multipart data formatTpgp(String keyFileName, String keyUserid)Uses the PGP data formatTpgp(String keyFileName, String keyUserid, String password)Uses the PGP data formatTpgp(String keyFileName, String keyUserid, String password, boolean armored, boolean integrity)Uses the PGP data formatTprotobuf()Uses the protobuf data formatTprotobuf(Object defaultInstance)Tprotobuf(Object defaultInstance, String contentTypeFormat)Tprotobuf(String instanceClassName)Tprotobuf(String instanceClassName, String contentTypeFormat)Tprotobuf(ProtobufLibrary library)Uses the Protobuf data format with given libraryTprotobuf(ProtobufLibrary library, Class<?> unmarshalType)Uses the Protobuf data format with given library and unmarshalTypeTprotobuf(ProtobufLibrary library, Class<?> unmarshalType, String schemaResolver)Uses the Protobuf data format with given library, unmarshalType and schemaResolverTrss()Uses the RSS data formatTsoap()Uses the Soap v1.1 data formatTsoap(String contextPath)Uses the Soap v1.1 data formatTsoap(String contextPath, Object elementNameStrategy)Uses the Soap v1.1 data formatTsoap(String contextPath, String elementNameStrategyRef)Uses the Soap v1.1 data formatTsoap12()Uses the Soap v1.2 data formatTsoap12(String contextPath)Uses the Soap v1.2 data formatTsoap12(String contextPath, Object elementNameStrategy)Uses the Soap v1.2 data formatTsoap12(String contextPath, String elementNameStrategyRef)Uses the Soap v1.2 data formatTsyslog()Uses the Syslog data formatTtarFile()Uses the Tar file data formatTthrift()Uses the Thrift data formatTthrift(Object defaultInstance)Tthrift(Object defaultInstance, String contentTypeFormat)Tthrift(String instanceClassName)Tthrift(String instanceClassName, String contentTypeFormat)TtidyMarkup()Return TidyMarkup in the default format asNodeTtidyMarkup(Class<?> dataObjectType)TxmlSecurity(byte[] passPhraseByte)Uses the XML Security data formatTxmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte)Uses the XML Security data formatTxmlSecurity(String secureTag, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm)Uses the XML Security data formatTxmlSecurity(String secureTag, boolean secureTagContents, String passPhrase)Uses the XML Security data formatTxmlSecurity(String secureTag, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)Uses the XML Security data formatTxmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)Uses the XML Security data formatTxmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)Uses the XML Security data formatTxmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters)Uses the XML Security data formatTxmlSecurity(String secureTag, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, org.apache.camel.support.jsse.KeyStoreParameters keyOrTrustStoreParameters, String keyPassword)Uses the XML Security data formatTxmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhraseByte)Uses the XML Security data formatTxmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, byte[] passPhraseByte, String xmlCipherAlgorithm)Uses the XML Security data formatTxmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase)Uses the XML Security data formatTxmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String passPhrase, String xmlCipherAlgorithm)Uses the XML Security data formatTxmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId)Uses the XML Security data formatTxmlSecurity(String secureTag, Map<String,String> namespaces, boolean secureTagContents, String recipientKeyAlias, String xmlCipherAlgorithm, String keyCipherAlgorithm, String keyOrTrustStoreParametersId, String keyPassword)Uses the XML Security data formatTxmlSecurity(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 formatTxmlSecurity(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 formatTxmlSecurity(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 formatTxstream()Uses the XStream data format.Txstream(Class<?> type)Uses the xstream by permitting the java typeTxstream(String encodingOrPermission)Uses the xstream by setting the encoding or permissionTxstream(String encoding, Class<?>... type)Uses the xstream by permitting the java typeTxstream(String encoding, String permission)Uses the xstream by setting the encodingTyaml(YAMLLibrary library)Uses the YAML data formatTyaml(YAMLLibrary library, Class<?> type)Uses the YAML data formatTzipDeflater()Uses the ZIP deflater data formatTzipDeflater(int compressionLevel)Uses the ZIP deflater data formatTzipFile()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
-
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()
Allowsnullas value of a body to unmarshall.- Returns:
- the builder
-
allowNullBody
public DataFormatClause<T> allowNullBody(boolean 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
-
-