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
All Methods Instance Methods Default Methods Modifier and Type Method Description default AS2EndpointBuilderFactory.AdvancedAS2EndpointProducerBuilder
advanced()
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
as2From(String as2From)
The value of the AS2From header of AS2 message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
as2MessageStructure(String as2MessageStructure)
The structure of AS2 Message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
as2MessageStructure(AS2EndpointBuilderFactory.AS2MessageStructure as2MessageStructure)
The structure of AS2 Message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
as2To(String as2To)
The value of the AS2To header of AS2 message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
as2Version(String as2Version)
The version of the AS2 protocol.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
clientFqdn(String clientFqdn)
The Client Fully Qualified Domain Name (FQDN).default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
compressionAlgorithm(String compressionAlgorithm)
The algorithm used to compress EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
compressionAlgorithm(AS2EndpointBuilderFactory.AS2CompressionAlgorithm compressionAlgorithm)
The algorithm used to compress EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
decryptingPrivateKey(String decryptingPrivateKey)
The key used to encrypt the EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
decryptingPrivateKey(PrivateKey decryptingPrivateKey)
The key used to encrypt the EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
dispositionNotificationTo(String dispositionNotificationTo)
The value of the Disposition-Notification-To header.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
ediMessageTransferEncoding(String ediMessageTransferEncoding)
The transfer encoding of EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
ediMessageType(Object ediMessageType)
The content type of EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
ediMessageType(String ediMessageType)
The content type of EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
encryptingAlgorithm(String encryptingAlgorithm)
The algorithm used to encrypt EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
encryptingAlgorithm(AS2EndpointBuilderFactory.AS2EncryptionAlgorithm encryptingAlgorithm)
The algorithm used to encrypt EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
encryptingCertificateChain(String encryptingCertificateChain)
The chain of certificates used to encrypt EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
encryptingCertificateChain(Certificate[] encryptingCertificateChain)
The chain of certificates used to encrypt EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
from(String from)
The value of the From header of AS2 message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
mdnMessageTemplate(String mdnMessageTemplate)
The template used to format MDN message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
requestUri(String requestUri)
The request URI of EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
server(String server)
The value included in the Server message header identifying the AS2 Server.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
serverFqdn(String serverFqdn)
The Server Fully Qualified Domain Name (FQDN).default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
serverPortNumber(Integer serverPortNumber)
The port number of server.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
serverPortNumber(String serverPortNumber)
The port number of server.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).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).default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
signingAlgorithm(String signingAlgorithm)
The algorithm used to sign EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
signingAlgorithm(AS2EndpointBuilderFactory.AS2SignatureAlgorithm signingAlgorithm)
The algorithm used to sign EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
signingCertificateChain(String signingCertificateChain)
The chain of certificates used to sign EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
signingCertificateChain(Certificate[] signingCertificateChain)
The chain of certificates used to sign EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
signingPrivateKey(String signingPrivateKey)
The key used to sign the EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
signingPrivateKey(PrivateKey signingPrivateKey)
The key used to sign the EDI message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
subject(String subject)
The value of Subject header of AS2 message.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
targetHostname(String targetHostname)
The host name (IP or DNS name) of target host.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
targetPortNumber(Integer targetPortNumber)
The port number of target host.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
targetPortNumber(String targetPortNumber)
The port number of target host.default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder
userAgent(String userAgent)
The value included in the User-Agent message header identifying the AS2 user agent.
-
-
-
Method Detail
-
advanced
default AS2EndpointBuilderFactory.AdvancedAS2EndpointProducerBuilder advanced()
-
as2From
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder as2From(String as2From)
The value of the AS2From header of AS2 message. The option is a:java.lang.String
type. Group: common
-
as2MessageStructure
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder as2MessageStructure(AS2EndpointBuilderFactory.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:org.apache.camel.component.as2.api.AS2MessageStructure
type. Group: common
-
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 aorg.apache.camel.component.as2.api.AS2MessageStructure
type. Group: common
-
as2To
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder as2To(String as2To)
The value of the AS2To header of AS2 message. The option is a:java.lang.String
type. Group: common
-
as2Version
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder as2Version(String as2Version)
The version of the AS2 protocol. The option is a:java.lang.String
type. Default: 1.1 Group: common
-
clientFqdn
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder clientFqdn(String clientFqdn)
The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. The option is a:java.lang.String
type. Default: camel.apache.org Group: common
-
compressionAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder compressionAlgorithm(AS2EndpointBuilderFactory.AS2CompressionAlgorithm compressionAlgorithm)
The algorithm used to compress EDI message. The option is a:org.apache.camel.component.as2.api.AS2CompressionAlgorithm
type. Group: common
-
compressionAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder compressionAlgorithm(String compressionAlgorithm)
The algorithm used to compress EDI message. The option will be converted to aorg.apache.camel.component.as2.api.AS2CompressionAlgorithm
type. Group: common
-
decryptingPrivateKey
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder decryptingPrivateKey(PrivateKey decryptingPrivateKey)
The key used to encrypt the EDI message. The option is a:java.security.PrivateKey
type. Group: common
-
decryptingPrivateKey
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder decryptingPrivateKey(String decryptingPrivateKey)
The key used to encrypt the EDI message. The option will be converted to ajava.security.PrivateKey
type. Group: common
-
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:java.lang.String
type. Group: common
-
ediMessageTransferEncoding
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder ediMessageTransferEncoding(String ediMessageTransferEncoding)
The transfer encoding of EDI message. The option is a:java.lang.String
type. Group: common
-
ediMessageType
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder ediMessageType(Object ediMessageType)
The content type of EDI message. One of application/edifact, application/edi-x12, application/edi-consent. The option is a:org.apache.http.entity.ContentType
type. Group: common
-
ediMessageType
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder ediMessageType(String ediMessageType)
The content type of EDI message. One of application/edifact, application/edi-x12, application/edi-consent. The option will be converted to aorg.apache.http.entity.ContentType
type. Group: common
-
encryptingAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder encryptingAlgorithm(AS2EndpointBuilderFactory.AS2EncryptionAlgorithm encryptingAlgorithm)
The algorithm used to encrypt EDI message. The option is a:org.apache.camel.component.as2.api.AS2EncryptionAlgorithm
type. Group: common
-
encryptingAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder encryptingAlgorithm(String encryptingAlgorithm)
The algorithm used to encrypt EDI message. The option will be converted to aorg.apache.camel.component.as2.api.AS2EncryptionAlgorithm
type. Group: common
-
encryptingCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder encryptingCertificateChain(Certificate[] encryptingCertificateChain)
The chain of certificates used to encrypt EDI message. The option is a:java.security.cert.Certificate[]
type. Group: common
-
encryptingCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder encryptingCertificateChain(String encryptingCertificateChain)
The chain of certificates used to encrypt EDI message. The option will be converted to ajava.security.cert.Certificate[]
type. Group: common
-
from
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder from(String from)
The value of the From header of AS2 message. The option is a:java.lang.String
type. Group: common
-
inBody
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body. The option is a:java.lang.String
type. Group: common
-
mdnMessageTemplate
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder mdnMessageTemplate(String mdnMessageTemplate)
The template used to format MDN message. The option is a:java.lang.String
type. Group: common
-
requestUri
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder requestUri(String requestUri)
The request URI of EDI message. The option is a:java.lang.String
type. Default: / Group: common
-
server
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder server(String server)
The value included in the Server message header identifying the AS2 Server. The option is a:java.lang.String
type. Default: Camel AS2 Server Endpoint Group: common
-
serverFqdn
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder serverFqdn(String serverFqdn)
The Server Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. The option is a:java.lang.String
type. Default: camel.apache.org Group: common
-
serverPortNumber
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder serverPortNumber(Integer serverPortNumber)
The port number of server. The option is a:java.lang.Integer
type. Group: common
-
serverPortNumber
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder serverPortNumber(String serverPortNumber)
The port number of server. The option will be converted to ajava.lang.Integer
type. Group: common
-
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:java.lang.String[]
type. Group: common
-
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 ajava.lang.String[]
type. Group: common
-
signingAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingAlgorithm(AS2EndpointBuilderFactory.AS2SignatureAlgorithm signingAlgorithm)
The algorithm used to sign EDI message. The option is a:org.apache.camel.component.as2.api.AS2SignatureAlgorithm
type. Group: common
-
signingAlgorithm
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingAlgorithm(String signingAlgorithm)
The algorithm used to sign EDI message. The option will be converted to aorg.apache.camel.component.as2.api.AS2SignatureAlgorithm
type. Group: common
-
signingCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingCertificateChain(Certificate[] signingCertificateChain)
The chain of certificates used to sign EDI message. The option is a:java.security.cert.Certificate[]
type. Group: common
-
signingCertificateChain
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingCertificateChain(String signingCertificateChain)
The chain of certificates used to sign EDI message. The option will be converted to ajava.security.cert.Certificate[]
type. Group: common
-
signingPrivateKey
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingPrivateKey(PrivateKey signingPrivateKey)
The key used to sign the EDI message. The option is a:java.security.PrivateKey
type. Group: common
-
signingPrivateKey
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder signingPrivateKey(String signingPrivateKey)
The key used to sign the EDI message. The option will be converted to ajava.security.PrivateKey
type. Group: common
-
subject
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder subject(String subject)
The value of Subject header of AS2 message. The option is a:java.lang.String
type. Group: common
-
targetHostname
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder targetHostname(String targetHostname)
The host name (IP or DNS name) of target host. The option is a:java.lang.String
type. Group: common
-
targetPortNumber
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder targetPortNumber(Integer targetPortNumber)
The port number of target host. -1 indicates the scheme default port. The option is a:java.lang.Integer
type. Group: common
-
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 ajava.lang.Integer
type. Group: common
-
userAgent
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder userAgent(String userAgent)
The value included in the User-Agent message header identifying the AS2 user agent. The option is a:java.lang.String
type. Default: Camel AS2 Client Endpoint Group: common
-
lazyStartProducer
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default AS2EndpointBuilderFactory.AS2EndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
-