Interface AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
AS2EndpointBuilderFactory.AS2EndpointBuilder
- Enclosing interface:
- AS2EndpointBuilderFactory
public static interface AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the AS2 component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
The value of the AS2From header of AS2 message.as2MessageStructure
(String as2MessageStructure) The structure of AS2 Message.as2MessageStructure
(org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure) The structure of AS2 Message.The value of the AS2To header of AS2 message.as2Version
(String as2Version) The version of the AS2 protocol.attachedFileName
(String attachedFileName) The name of the attached file.clientFqdn
(String clientFqdn) The Client Fully Qualified Domain Name (FQDN).compressionAlgorithm
(String compressionAlgorithm) The algorithm used to compress EDI message.compressionAlgorithm
(org.apache.camel.component.as2.api.AS2CompressionAlgorithm compressionAlgorithm) The algorithm used to compress EDI message.decryptingPrivateKey
(String decryptingPrivateKey) The key used to encrypt the EDI message.decryptingPrivateKey
(PrivateKey decryptingPrivateKey) The key used to encrypt the EDI message.dispositionNotificationTo
(String dispositionNotificationTo) The value of the Disposition-Notification-To header.ediMessageTransferEncoding
(String ediMessageTransferEncoding) The transfer encoding of EDI message.ediMessageType
(String ediMessageType) The content type of EDI message.ediMessageType
(org.apache.http.entity.ContentType ediMessageType) The content type of EDI message.encryptingAlgorithm
(String encryptingAlgorithm) The algorithm used to encrypt EDI message.encryptingAlgorithm
(org.apache.camel.component.as2.api.AS2EncryptionAlgorithm encryptingAlgorithm) The algorithm used to encrypt EDI message.encryptingCertificateChain
(String encryptingCertificateChain) The chain of certificates used to encrypt EDI message.encryptingCertificateChain
(Certificate[] encryptingCertificateChain) The chain of certificates used to encrypt EDI message.The value of the From header of AS2 message.hostnameVerifier
(String hostnameVerifier) Set hostname verifier for SSL session.hostnameVerifier
(HostnameVerifier hostnameVerifier) Set hostname verifier for SSL session.httpConnectionPoolSize
(Integer httpConnectionPoolSize) The maximum size of the connection pool for http connections (client only).httpConnectionPoolSize
(String httpConnectionPoolSize) The maximum size of the connection pool for http connections (client only).httpConnectionPoolTtl
(String httpConnectionPoolTtl) The time to live for connections in the connection pool (client only).httpConnectionPoolTtl
(Duration httpConnectionPoolTtl) The time to live for connections in the connection pool (client only).httpConnectionTimeout
(String httpConnectionTimeout) The timeout of the http connection (client only).httpConnectionTimeout
(Duration httpConnectionTimeout) The timeout of the http connection (client only).httpSocketTimeout
(String httpSocketTimeout) The timeout of the underlying http socket (client only).httpSocketTimeout
(Duration httpSocketTimeout) The timeout of the underlying http socket (client only).Sets the name of a parameter to be passed in the exchange In Body.mdnMessageTemplate
(String mdnMessageTemplate) The template used to format MDN message.requestUri
(String requestUri) The request URI of EDI message.The value included in the Server message header identifying the AS2 Server.serverFqdn
(String serverFqdn) The Server Fully Qualified Domain Name (FQDN).serverPortNumber
(Integer serverPortNumber) The port number of server.serverPortNumber
(String serverPortNumber) The port number of server.signedReceiptMicAlgorithms
(String signedReceiptMicAlgorithms) The list of algorithms, in order of preference, requested to generate a message integrity check (MIC) returned in message dispostion notification (MDN).signedReceiptMicAlgorithms
(String[] signedReceiptMicAlgorithms) The list of algorithms, in order of preference, requested to generate a message integrity check (MIC) returned in message dispostion notification (MDN).signingAlgorithm
(String signingAlgorithm) The algorithm used to sign EDI message.signingAlgorithm
(org.apache.camel.component.as2.api.AS2SignatureAlgorithm signingAlgorithm) The algorithm used to sign EDI message.signingCertificateChain
(String signingCertificateChain) The chain of certificates used to sign EDI message.signingCertificateChain
(Certificate[] signingCertificateChain) The chain of certificates used to sign EDI message.signingPrivateKey
(String signingPrivateKey) The key used to sign the EDI message.signingPrivateKey
(PrivateKey signingPrivateKey) The key used to sign the EDI message.sslContext
(String sslContext) Set SSL context for connection to remote server.sslContext
(SSLContext sslContext) Set SSL context for connection to remote server.The value of Subject header of AS2 message.targetHostname
(String targetHostname) The host name (IP or DNS name) of target host.targetPortNumber
(Integer targetPortNumber) The port number of target host.targetPortNumber
(String targetPortNumber) The port number of target host.The value included in the User-Agent message header identifying the AS2 user agent.validateSigningCertificateChain
(String validateSigningCertificateChain) Certificates to validate the message's signature against.validateSigningCertificateChain
(Certificate[] validateSigningCertificateChain) Certificates to validate the message's signature against.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
as2From
The value of the AS2From header of AS2 message. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
as2From
- the value to set- Returns:
- the dsl builder
-
as2MessageStructure
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder as2MessageStructure(org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure) The structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature. The option is a: <code>org.apache.camel.component.as2.api.AS2MessageStructure</code> type. Group: common- Parameters:
as2MessageStructure
- the value to set- Returns:
- the dsl builder
-
as2MessageStructure
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder as2MessageStructure(String as2MessageStructure) The structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature. The option will be converted to a <code>org.apache.camel.component.as2.api.AS2MessageStructure</code> type. Group: common- Parameters:
as2MessageStructure
- the value to set- Returns:
- the dsl builder
-
as2To
The value of the AS2To header of AS2 message. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
as2To
- the value to set- Returns:
- the dsl builder
-
as2Version
The version of the AS2 protocol. The option is a: <code>java.lang.String</code> type. Default: 1.1 Group: common- Parameters:
as2Version
- the value to set- Returns:
- the dsl builder
-
attachedFileName
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder attachedFileName(String attachedFileName) The name of the attached file. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
attachedFileName
- the value to set- Returns:
- the dsl builder
-
clientFqdn
The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. The option is a: <code>java.lang.String</code> type. Default: camel.apache.org Group: common- Parameters:
clientFqdn
- the value to set- Returns:
- the dsl builder
-
compressionAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder compressionAlgorithm(org.apache.camel.component.as2.api.AS2CompressionAlgorithm compressionAlgorithm) The algorithm used to compress EDI message. The option is a: <code>org.apache.camel.component.as2.api.AS2CompressionAlgorithm</code> type. Group: common- Parameters:
compressionAlgorithm
- the value to set- Returns:
- the dsl builder
-
compressionAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder compressionAlgorithm(String compressionAlgorithm) The algorithm used to compress EDI message. The option will be converted to a <code>org.apache.camel.component.as2.api.AS2CompressionAlgorithm</code> type. Group: common- Parameters:
compressionAlgorithm
- the value to set- Returns:
- the dsl builder
-
dispositionNotificationTo
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder dispositionNotificationTo(String dispositionNotificationTo) The value of the Disposition-Notification-To header. Assigning a value to this parameter requests a message disposition notification (MDN) for the AS2 message. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
dispositionNotificationTo
- the value to set- Returns:
- the dsl builder
-
ediMessageTransferEncoding
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder ediMessageTransferEncoding(String ediMessageTransferEncoding) The transfer encoding of EDI message. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
ediMessageTransferEncoding
- the value to set- Returns:
- the dsl builder
-
ediMessageType
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder ediMessageType(org.apache.http.entity.ContentType ediMessageType) The content type of EDI message. One of application/edifact, application/edi-x12, application/edi-consent, application/xml. The option is a: <code>org.apache.http.entity.ContentType</code> type. Group: common- Parameters:
ediMessageType
- the value to set- Returns:
- the dsl builder
-
ediMessageType
The content type of EDI message. One of application/edifact, application/edi-x12, application/edi-consent, application/xml. The option will be converted to a <code>org.apache.http.entity.ContentType</code> type. Group: common- Parameters:
ediMessageType
- the value to set- Returns:
- the dsl builder
-
from
The value of the From header of AS2 message. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
from
- the value to set- Returns:
- the dsl builder
-
hostnameVerifier
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder hostnameVerifier(HostnameVerifier hostnameVerifier) Set hostname verifier for SSL session. The option is a: <code>javax.net.ssl.HostnameVerifier</code> type. Group: common- Parameters:
hostnameVerifier
- the value to set- Returns:
- the dsl builder
-
hostnameVerifier
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder hostnameVerifier(String hostnameVerifier) Set hostname verifier for SSL session. The option will be converted to a <code>javax.net.ssl.HostnameVerifier</code> type. Group: common- Parameters:
hostnameVerifier
- the value to set- Returns:
- the dsl builder
-
httpConnectionPoolSize
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder httpConnectionPoolSize(Integer httpConnectionPoolSize) The maximum size of the connection pool for http connections (client only). The option is a: <code>java.lang.Integer</code> type. Default: 5 Group: common- Parameters:
httpConnectionPoolSize
- the value to set- Returns:
- the dsl builder
-
httpConnectionPoolSize
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder httpConnectionPoolSize(String httpConnectionPoolSize) The maximum size of the connection pool for http connections (client only). The option will be converted to a <code>java.lang.Integer</code> type. Default: 5 Group: common- Parameters:
httpConnectionPoolSize
- the value to set- Returns:
- the dsl builder
-
httpConnectionPoolTtl
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder httpConnectionPoolTtl(Duration httpConnectionPoolTtl) The time to live for connections in the connection pool (client only). The option is a: <code>java.time.Duration</code> type. Default: 15m Group: common- Parameters:
httpConnectionPoolTtl
- the value to set- Returns:
- the dsl builder
-
httpConnectionPoolTtl
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder httpConnectionPoolTtl(String httpConnectionPoolTtl) The time to live for connections in the connection pool (client only). The option will be converted to a <code>java.time.Duration</code> type. Default: 15m Group: common- Parameters:
httpConnectionPoolTtl
- the value to set- Returns:
- the dsl builder
-
httpConnectionTimeout
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder httpConnectionTimeout(Duration httpConnectionTimeout) The timeout of the http connection (client only). The option is a: <code>java.time.Duration</code> type. Default: 5s Group: common- Parameters:
httpConnectionTimeout
- the value to set- Returns:
- the dsl builder
-
httpConnectionTimeout
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder httpConnectionTimeout(String httpConnectionTimeout) The timeout of the http connection (client only). The option will be converted to a <code>java.time.Duration</code> type. Default: 5s Group: common- Parameters:
httpConnectionTimeout
- the value to set- Returns:
- the dsl builder
-
httpSocketTimeout
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder httpSocketTimeout(Duration httpSocketTimeout) The timeout of the underlying http socket (client only). The option is a: <code>java.time.Duration</code> type. Default: 5s Group: common- Parameters:
httpSocketTimeout
- the value to set- Returns:
- the dsl builder
-
httpSocketTimeout
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder httpSocketTimeout(String httpSocketTimeout) The timeout of the underlying http socket (client only). The option will be converted to a <code>java.time.Duration</code> type. Default: 5s Group: common- Parameters:
httpSocketTimeout
- the value to set- Returns:
- the dsl builder
-
inBody
Sets the name of a parameter to be passed in the exchange In Body. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
mdnMessageTemplate
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder mdnMessageTemplate(String mdnMessageTemplate) The template used to format MDN message. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
mdnMessageTemplate
- the value to set- Returns:
- the dsl builder
-
requestUri
The request URI of EDI message. The option is a: <code>java.lang.String</code> type. Default: / Group: common- Parameters:
requestUri
- the value to set- Returns:
- the dsl builder
-
server
The value included in the Server message header identifying the AS2 Server. The option is a: <code>java.lang.String</code> type. Default: Camel AS2 Server Endpoint Group: common- Parameters:
server
- the value to set- Returns:
- the dsl builder
-
serverFqdn
The Server Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. The option is a: <code>java.lang.String</code> type. Default: camel.apache.org Group: common- Parameters:
serverFqdn
- the value to set- Returns:
- the dsl builder
-
serverPortNumber
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder serverPortNumber(Integer serverPortNumber) The port number of server. The option is a: <code>java.lang.Integer</code> type. Group: common- Parameters:
serverPortNumber
- the value to set- Returns:
- the dsl builder
-
serverPortNumber
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder serverPortNumber(String serverPortNumber) The port number of server. The option will be converted to a <code>java.lang.Integer</code> type. Group: common- Parameters:
serverPortNumber
- the value to set- Returns:
- the dsl builder
-
sslContext
Set SSL context for connection to remote server. The option is a: <code>javax.net.ssl.SSLContext</code> type. Group: common- Parameters:
sslContext
- the value to set- Returns:
- the dsl builder
-
sslContext
Set SSL context for connection to remote server. The option will be converted to a <code>javax.net.ssl.SSLContext</code> type. Group: common- Parameters:
sslContext
- the value to set- Returns:
- the dsl builder
-
subject
The value of Subject header of AS2 message. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
subject
- the value to set- Returns:
- the dsl builder
-
targetHostname
The host name (IP or DNS name) of target host. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
targetHostname
- the value to set- Returns:
- the dsl builder
-
targetPortNumber
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder targetPortNumber(Integer targetPortNumber) The port number of target host. -1 indicates the scheme default port. The option is a: <code>java.lang.Integer</code> type. Default: 80 Group: common- Parameters:
targetPortNumber
- the value to set- Returns:
- the dsl builder
-
targetPortNumber
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder targetPortNumber(String targetPortNumber) The port number of target host. -1 indicates the scheme default port. The option will be converted to a <code>java.lang.Integer</code> type. Default: 80 Group: common- Parameters:
targetPortNumber
- the value to set- Returns:
- the dsl builder
-
userAgent
The value included in the User-Agent message header identifying the AS2 user agent. The option is a: <code>java.lang.String</code> type. Default: Camel AS2 Client Endpoint Group: common- Parameters:
userAgent
- the value to set- Returns:
- the dsl builder
-
decryptingPrivateKey
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder decryptingPrivateKey(PrivateKey decryptingPrivateKey) The key used to encrypt the EDI message. The option is a: <code>java.security.PrivateKey</code> type. Group: security- Parameters:
decryptingPrivateKey
- the value to set- Returns:
- the dsl builder
-
decryptingPrivateKey
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder decryptingPrivateKey(String decryptingPrivateKey) The key used to encrypt the EDI message. The option will be converted to a <code>java.security.PrivateKey</code> type. Group: security- Parameters:
decryptingPrivateKey
- the value to set- Returns:
- the dsl builder
-
encryptingAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder encryptingAlgorithm(org.apache.camel.component.as2.api.AS2EncryptionAlgorithm encryptingAlgorithm) The algorithm used to encrypt EDI message. The option is a: <code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code> type. Group: security- Parameters:
encryptingAlgorithm
- the value to set- Returns:
- the dsl builder
-
encryptingAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder encryptingAlgorithm(String encryptingAlgorithm) The algorithm used to encrypt EDI message. The option will be converted to a <code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code> type. Group: security- Parameters:
encryptingAlgorithm
- the value to set- Returns:
- the dsl builder
-
encryptingCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder encryptingCertificateChain(Certificate[] encryptingCertificateChain) The chain of certificates used to encrypt EDI message. The option is a: <code>java.security.cert.Certificate[]</code> type. Group: security- Parameters:
encryptingCertificateChain
- the value to set- Returns:
- the dsl builder
-
encryptingCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder encryptingCertificateChain(String encryptingCertificateChain) The chain of certificates used to encrypt EDI message. The option will be converted to a <code>java.security.cert.Certificate[]</code> type. Group: security- Parameters:
encryptingCertificateChain
- the value to set- Returns:
- the dsl builder
-
signedReceiptMicAlgorithms
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signedReceiptMicAlgorithms(String[] signedReceiptMicAlgorithms) The list of algorithms, in order of preference, requested to generate a message integrity check (MIC) returned in message dispostion notification (MDN). The option is a: <code>java.lang.String[]</code> type. Group: security- Parameters:
signedReceiptMicAlgorithms
- the value to set- Returns:
- the dsl builder
-
signedReceiptMicAlgorithms
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signedReceiptMicAlgorithms(String signedReceiptMicAlgorithms) The list of algorithms, in order of preference, requested to generate a message integrity check (MIC) returned in message dispostion notification (MDN). The option will be converted to a <code>java.lang.String[]</code> type. Group: security- Parameters:
signedReceiptMicAlgorithms
- the value to set- Returns:
- the dsl builder
-
signingAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingAlgorithm(org.apache.camel.component.as2.api.AS2SignatureAlgorithm signingAlgorithm) The algorithm used to sign EDI message. The option is a: <code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code> type. Group: security- Parameters:
signingAlgorithm
- the value to set- Returns:
- the dsl builder
-
signingAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingAlgorithm(String signingAlgorithm) The algorithm used to sign EDI message. The option will be converted to a <code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code> type. Group: security- Parameters:
signingAlgorithm
- the value to set- Returns:
- the dsl builder
-
signingCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingCertificateChain(Certificate[] signingCertificateChain) The chain of certificates used to sign EDI message. The option is a: <code>java.security.cert.Certificate[]</code> type. Group: security- Parameters:
signingCertificateChain
- the value to set- Returns:
- the dsl builder
-
signingCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingCertificateChain(String signingCertificateChain) The chain of certificates used to sign EDI message. The option will be converted to a <code>java.security.cert.Certificate[]</code> type. Group: security- Parameters:
signingCertificateChain
- the value to set- Returns:
- the dsl builder
-
signingPrivateKey
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingPrivateKey(PrivateKey signingPrivateKey) The key used to sign the EDI message. The option is a: <code>java.security.PrivateKey</code> type. Group: security- Parameters:
signingPrivateKey
- the value to set- Returns:
- the dsl builder
-
signingPrivateKey
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingPrivateKey(String signingPrivateKey) The key used to sign the EDI message. The option will be converted to a <code>java.security.PrivateKey</code> type. Group: security- Parameters:
signingPrivateKey
- the value to set- Returns:
- the dsl builder
-
validateSigningCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder validateSigningCertificateChain(Certificate[] validateSigningCertificateChain) Certificates to validate the message's signature against. If not supplied, validation will not take place. Server: validates the received message. Client: not yet implemented, should validate the MDN. The option is a: <code>java.security.cert.Certificate[]</code> type. Group: security- Parameters:
validateSigningCertificateChain
- the value to set- Returns:
- the dsl builder
-
validateSigningCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder validateSigningCertificateChain(String validateSigningCertificateChain) Certificates to validate the message's signature against. If not supplied, validation will not take place. Server: validates the received message. Client: not yet implemented, should validate the MDN. The option will be converted to a <code>java.security.cert.Certificate[]</code> type. Group: security- Parameters:
validateSigningCertificateChain
- the value to set- Returns:
- the dsl builder
-