This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 425fdbdf593 Regen for commit c8c1e410dc494d7e41db46cc2f44d0f19432d442
425fdbdf593 is described below
commit 425fdbdf593887849dc15baf540f2e81170e5aca
Author: oscerd <[email protected]>
AuthorDate: Sun Jan 29 20:04:21 2023 +0000
Regen for commit c8c1e410dc494d7e41db46cc2f44d0f19432d442
Signed-off-by: GitHub <[email protected]>
---
.../endpoint/dsl/AS2EndpointBuilderFactory.java | 1206 +++++++++++---------
1 file changed, 663 insertions(+), 543 deletions(-)
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
index 7173e8dd63f..0e4765d8b13 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
@@ -185,38 +185,6 @@ public interface AS2EndpointBuilderFactory {
doSetProperty("compressionAlgorithm", compressionAlgorithm);
return this;
}
- /**
- * The key used to encrypt the EDI message.
- *
- * The option is a: <code>java.security.PrivateKey</code>
- * type.
- *
- * Group: common
- *
- * @param decryptingPrivateKey the value to set
- * @return the dsl builder
- */
- default AS2EndpointConsumerBuilder decryptingPrivateKey(
- java.security.PrivateKey decryptingPrivateKey) {
- doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
- return this;
- }
- /**
- * The key used to encrypt the EDI message.
- *
- * The option will be converted to a
- * <code>java.security.PrivateKey</code> type.
- *
- * Group: common
- *
- * @param decryptingPrivateKey the value to set
- * @return the dsl builder
- */
- default AS2EndpointConsumerBuilder decryptingPrivateKey(
- String decryptingPrivateKey) {
- doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
- return this;
- }
/**
* The value of the Disposition-Notification-To header. Assigning a
* value to this parameter requests a message disposition notification
@@ -282,70 +250,6 @@ public interface AS2EndpointBuilderFactory {
doSetProperty("ediMessageType", ediMessageType);
return this;
}
- /**
- * The algorithm used to encrypt EDI message.
- *
- * The option is a:
- *
<code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code>
type.
- *
- * Group: common
- *
- * @param encryptingAlgorithm the value to set
- * @return the dsl builder
- */
- default AS2EndpointConsumerBuilder encryptingAlgorithm(
- org.apache.camel.component.as2.api.AS2EncryptionAlgorithm
encryptingAlgorithm) {
- doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
- return this;
- }
- /**
- * 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: common
- *
- * @param encryptingAlgorithm the value to set
- * @return the dsl builder
- */
- default AS2EndpointConsumerBuilder encryptingAlgorithm(
- String encryptingAlgorithm) {
- doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
- return this;
- }
- /**
- * The chain of certificates used to encrypt EDI message.
- *
- * The option is a:
- * <code>java.security.cert.Certificate[]</code> type.
- *
- * Group: common
- *
- * @param encryptingCertificateChain the value to set
- * @return the dsl builder
- */
- default AS2EndpointConsumerBuilder encryptingCertificateChain(
- java.security.cert.Certificate[] encryptingCertificateChain) {
- doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
- return this;
- }
- /**
- * The chain of certificates used to encrypt EDI message.
- *
- * The option will be converted to a
- * <code>java.security.cert.Certificate[]</code> type.
- *
- * Group: common
- *
- * @param encryptingCertificateChain the value to set
- * @return the dsl builder
- */
- default AS2EndpointConsumerBuilder encryptingCertificateChain(
- String encryptingCertificateChain) {
- doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
- return this;
- }
/**
* The value of the From header of AS2 message.
*
@@ -604,209 +508,345 @@ public interface AS2EndpointBuilderFactory {
return this;
}
/**
- * The list of algorithms, in order of preference, requested to
generate
- * a message integrity check (MIC) returned in message dispostion
- * notification (MDN).
+ * The value of Subject header of AS2 message.
*
- * The option is a: <code>java.lang.String[]</code> type.
+ * The option is a: <code>java.lang.String</code> type.
*
* Group: common
*
- * @param signedReceiptMicAlgorithms the value to set
+ * @param subject the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder signedReceiptMicAlgorithms(
- String[] signedReceiptMicAlgorithms) {
- doSetProperty("signedReceiptMicAlgorithms",
signedReceiptMicAlgorithms);
+ default AS2EndpointConsumerBuilder subject(String subject) {
+ doSetProperty("subject", subject);
return this;
}
/**
- * The list of algorithms, in order of preference, requested to
generate
- * a message integrity check (MIC) returned in message dispostion
- * notification (MDN).
+ * The host name (IP or DNS name) of target host.
*
- * The option will be converted to a
- * <code>java.lang.String[]</code> type.
+ * The option is a: <code>java.lang.String</code> type.
*
* Group: common
*
- * @param signedReceiptMicAlgorithms the value to set
+ * @param targetHostname the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder signedReceiptMicAlgorithms(
- String signedReceiptMicAlgorithms) {
- doSetProperty("signedReceiptMicAlgorithms",
signedReceiptMicAlgorithms);
+ default AS2EndpointConsumerBuilder targetHostname(String
targetHostname) {
+ doSetProperty("targetHostname", targetHostname);
return this;
}
/**
- * The algorithm used to sign EDI message.
+ * The port number of target host. -1 indicates the scheme default
port.
*
- * The option is a:
- *
<code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code>
type.
+ * The option is a: <code>java.lang.Integer</code> type.
*
+ * Default: 80
* Group: common
*
- * @param signingAlgorithm the value to set
+ * @param targetPortNumber the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder signingAlgorithm(
- org.apache.camel.component.as2.api.AS2SignatureAlgorithm
signingAlgorithm) {
- doSetProperty("signingAlgorithm", signingAlgorithm);
+ default AS2EndpointConsumerBuilder targetPortNumber(
+ Integer targetPortNumber) {
+ doSetProperty("targetPortNumber", targetPortNumber);
return this;
}
/**
- * The algorithm used to sign EDI message.
+ * The port number of target host. -1 indicates the scheme default
port.
*
* The option will be converted to a
- *
<code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code>
type.
- *
- * Group: common
- *
- * @param signingAlgorithm the value to set
- * @return the dsl builder
- */
- default AS2EndpointConsumerBuilder signingAlgorithm(
- String signingAlgorithm) {
- doSetProperty("signingAlgorithm", signingAlgorithm);
- return this;
- }
- /**
- * The chain of certificates used to sign EDI message.
- *
- * The option is a:
- * <code>java.security.cert.Certificate[]</code> type.
+ * <code>java.lang.Integer</code> type.
*
+ * Default: 80
* Group: common
*
- * @param signingCertificateChain the value to set
+ * @param targetPortNumber the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder signingCertificateChain(
- java.security.cert.Certificate[] signingCertificateChain) {
- doSetProperty("signingCertificateChain", signingCertificateChain);
+ default AS2EndpointConsumerBuilder targetPortNumber(
+ String targetPortNumber) {
+ doSetProperty("targetPortNumber", targetPortNumber);
return this;
}
/**
- * The chain of certificates used to sign EDI message.
+ * The value included in the User-Agent message header identifying the
+ * AS2 user agent.
*
- * The option will be converted to a
- * <code>java.security.cert.Certificate[]</code> type.
+ * The option is a: <code>java.lang.String</code> type.
*
+ * Default: Camel AS2 Client Endpoint
* Group: common
*
- * @param signingCertificateChain the value to set
+ * @param userAgent the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder signingCertificateChain(
- String signingCertificateChain) {
- doSetProperty("signingCertificateChain", signingCertificateChain);
+ default AS2EndpointConsumerBuilder userAgent(String userAgent) {
+ doSetProperty("userAgent", userAgent);
return this;
}
/**
- * The key used to sign the EDI message.
+ * The key used to encrypt the EDI message.
*
* The option is a: <code>java.security.PrivateKey</code>
* type.
*
- * Group: common
+ * Group: security
*
- * @param signingPrivateKey the value to set
+ * @param decryptingPrivateKey the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder signingPrivateKey(
- java.security.PrivateKey signingPrivateKey) {
- doSetProperty("signingPrivateKey", signingPrivateKey);
+ default AS2EndpointConsumerBuilder decryptingPrivateKey(
+ java.security.PrivateKey decryptingPrivateKey) {
+ doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
return this;
}
/**
- * The key used to sign the EDI message.
+ * The key used to encrypt the EDI message.
*
* The option will be converted to a
* <code>java.security.PrivateKey</code> type.
*
- * Group: common
+ * Group: security
*
- * @param signingPrivateKey the value to set
+ * @param decryptingPrivateKey the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder signingPrivateKey(
- String signingPrivateKey) {
- doSetProperty("signingPrivateKey", signingPrivateKey);
+ default AS2EndpointConsumerBuilder decryptingPrivateKey(
+ String decryptingPrivateKey) {
+ doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
return this;
}
/**
- * The value of Subject header of AS2 message.
+ * The algorithm used to encrypt EDI message.
*
- * The option is a: <code>java.lang.String</code> type.
+ * The option is a:
+ *
<code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code>
type.
*
- * Group: common
+ * Group: security
*
- * @param subject the value to set
+ * @param encryptingAlgorithm the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder subject(String subject) {
- doSetProperty("subject", subject);
+ default AS2EndpointConsumerBuilder encryptingAlgorithm(
+ org.apache.camel.component.as2.api.AS2EncryptionAlgorithm
encryptingAlgorithm) {
+ doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
return this;
}
/**
- * The host name (IP or DNS name) of target host.
+ * The algorithm used to encrypt EDI message.
*
- * The option is a: <code>java.lang.String</code> type.
+ * The option will be converted to a
+ *
<code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code>
type.
*
- * Group: common
+ * Group: security
*
- * @param targetHostname the value to set
+ * @param encryptingAlgorithm the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder targetHostname(String
targetHostname) {
- doSetProperty("targetHostname", targetHostname);
+ default AS2EndpointConsumerBuilder encryptingAlgorithm(
+ String encryptingAlgorithm) {
+ doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
return this;
}
/**
- * The port number of target host. -1 indicates the scheme default
port.
+ * The chain of certificates used to encrypt EDI message.
*
- * The option is a: <code>java.lang.Integer</code> type.
+ * The option is a:
+ * <code>java.security.cert.Certificate[]</code> type.
*
- * Group: common
+ * Group: security
*
- * @param targetPortNumber the value to set
+ * @param encryptingCertificateChain the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder targetPortNumber(
- Integer targetPortNumber) {
- doSetProperty("targetPortNumber", targetPortNumber);
+ default AS2EndpointConsumerBuilder encryptingCertificateChain(
+ java.security.cert.Certificate[] encryptingCertificateChain) {
+ doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
return this;
}
/**
- * The port number of target host. -1 indicates the scheme default
port.
+ * The chain of certificates used to encrypt EDI message.
*
* The option will be converted to a
- * <code>java.lang.Integer</code> type.
+ * <code>java.security.cert.Certificate[]</code> type.
*
- * Group: common
+ * Group: security
*
- * @param targetPortNumber the value to set
+ * @param encryptingCertificateChain the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder targetPortNumber(
- String targetPortNumber) {
- doSetProperty("targetPortNumber", targetPortNumber);
+ default AS2EndpointConsumerBuilder encryptingCertificateChain(
+ String encryptingCertificateChain) {
+ doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
return this;
}
/**
- * The value included in the User-Agent message header identifying the
- * AS2 user agent.
- *
- * The option is a: <code>java.lang.String</code> type.
+ * The list of algorithms, in order of preference, requested to
generate
+ * a message integrity check (MIC) returned in message dispostion
+ * notification (MDN).
*
- * Default: Camel AS2 Client Endpoint
- * Group: common
+ * The option is a: <code>java.lang.String[]</code> type.
*
- * @param userAgent the value to set
+ * Group: security
+ *
+ * @param signedReceiptMicAlgorithms the value to set
* @return the dsl builder
*/
- default AS2EndpointConsumerBuilder userAgent(String userAgent) {
- doSetProperty("userAgent", userAgent);
+ default AS2EndpointConsumerBuilder signedReceiptMicAlgorithms(
+ String[] signedReceiptMicAlgorithms) {
+ doSetProperty("signedReceiptMicAlgorithms",
signedReceiptMicAlgorithms);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param signedReceiptMicAlgorithms the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder signedReceiptMicAlgorithms(
+ String signedReceiptMicAlgorithms) {
+ doSetProperty("signedReceiptMicAlgorithms",
signedReceiptMicAlgorithms);
+ return this;
+ }
+ /**
+ * The algorithm used to sign EDI message.
+ *
+ * The option is a:
+ *
<code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code>
type.
+ *
+ * Group: security
+ *
+ * @param signingAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder signingAlgorithm(
+ org.apache.camel.component.as2.api.AS2SignatureAlgorithm
signingAlgorithm) {
+ doSetProperty("signingAlgorithm", signingAlgorithm);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param signingAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder signingAlgorithm(
+ String signingAlgorithm) {
+ doSetProperty("signingAlgorithm", signingAlgorithm);
+ return this;
+ }
+ /**
+ * The chain of certificates used to sign EDI message.
+ *
+ * The option is a:
+ * <code>java.security.cert.Certificate[]</code> type.
+ *
+ * Group: security
+ *
+ * @param signingCertificateChain the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder signingCertificateChain(
+ java.security.cert.Certificate[] signingCertificateChain) {
+ doSetProperty("signingCertificateChain", signingCertificateChain);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param signingCertificateChain the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder signingCertificateChain(
+ String signingCertificateChain) {
+ doSetProperty("signingCertificateChain", signingCertificateChain);
+ return this;
+ }
+ /**
+ * The key used to sign the EDI message.
+ *
+ * The option is a: <code>java.security.PrivateKey</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param signingPrivateKey the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder signingPrivateKey(
+ java.security.PrivateKey signingPrivateKey) {
+ doSetProperty("signingPrivateKey", signingPrivateKey);
+ return this;
+ }
+ /**
+ * The key used to sign the EDI message.
+ *
+ * The option will be converted to a
+ * <code>java.security.PrivateKey</code> type.
+ *
+ * Group: security
+ *
+ * @param signingPrivateKey the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder signingPrivateKey(
+ String signingPrivateKey) {
+ doSetProperty("signingPrivateKey", signingPrivateKey);
+ return this;
+ }
+ /**
+ * Certifiates to validate the messages 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
+ *
+ * @param validateSigningCertificateChain the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder validateSigningCertificateChain(
+ java.security.cert.Certificate[]
validateSigningCertificateChain) {
+ doSetProperty("validateSigningCertificateChain",
validateSigningCertificateChain);
+ return this;
+ }
+ /**
+ * Certifiates to validate the messages 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
+ *
+ * @param validateSigningCertificateChain the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointConsumerBuilder validateSigningCertificateChain(
+ String validateSigningCertificateChain) {
+ doSetProperty("validateSigningCertificateChain",
validateSigningCertificateChain);
return this;
}
}
@@ -1043,38 +1083,6 @@ public interface AS2EndpointBuilderFactory {
doSetProperty("compressionAlgorithm", compressionAlgorithm);
return this;
}
- /**
- * The key used to encrypt the EDI message.
- *
- * The option is a: <code>java.security.PrivateKey</code>
- * type.
- *
- * Group: common
- *
- * @param decryptingPrivateKey the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder decryptingPrivateKey(
- java.security.PrivateKey decryptingPrivateKey) {
- doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
- return this;
- }
- /**
- * The key used to encrypt the EDI message.
- *
- * The option will be converted to a
- * <code>java.security.PrivateKey</code> type.
- *
- * Group: common
- *
- * @param decryptingPrivateKey the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder decryptingPrivateKey(
- String decryptingPrivateKey) {
- doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
- return this;
- }
/**
* The value of the Disposition-Notification-To header. Assigning a
* value to this parameter requests a message disposition notification
@@ -1140,70 +1148,6 @@ public interface AS2EndpointBuilderFactory {
doSetProperty("ediMessageType", ediMessageType);
return this;
}
- /**
- * The algorithm used to encrypt EDI message.
- *
- * The option is a:
- *
<code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code>
type.
- *
- * Group: common
- *
- * @param encryptingAlgorithm the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder encryptingAlgorithm(
- org.apache.camel.component.as2.api.AS2EncryptionAlgorithm
encryptingAlgorithm) {
- doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
- return this;
- }
- /**
- * 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: common
- *
- * @param encryptingAlgorithm the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder encryptingAlgorithm(
- String encryptingAlgorithm) {
- doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
- return this;
- }
- /**
- * The chain of certificates used to encrypt EDI message.
- *
- * The option is a:
- * <code>java.security.cert.Certificate[]</code> type.
- *
- * Group: common
- *
- * @param encryptingCertificateChain the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder encryptingCertificateChain(
- java.security.cert.Certificate[] encryptingCertificateChain) {
- doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
- return this;
- }
- /**
- * The chain of certificates used to encrypt EDI message.
- *
- * The option will be converted to a
- * <code>java.security.cert.Certificate[]</code> type.
- *
- * Group: common
- *
- * @param encryptingCertificateChain the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder encryptingCertificateChain(
- String encryptingCertificateChain) {
- doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
- return this;
- }
/**
* The value of the From header of AS2 message.
*
@@ -1462,32 +1406,205 @@ public interface AS2EndpointBuilderFactory {
return this;
}
/**
- * The list of algorithms, in order of preference, requested to
generate
- * a message integrity check (MIC) returned in message dispostion
- * notification (MDN).
+ * The value of Subject header of AS2 message.
*
- * The option is a: <code>java.lang.String[]</code> type.
+ * The option is a: <code>java.lang.String</code> type.
*
* Group: common
*
- * @param signedReceiptMicAlgorithms the value to set
+ * @param subject the value to set
* @return the dsl builder
*/
- default AS2EndpointProducerBuilder signedReceiptMicAlgorithms(
- String[] signedReceiptMicAlgorithms) {
- doSetProperty("signedReceiptMicAlgorithms",
signedReceiptMicAlgorithms);
+ default AS2EndpointProducerBuilder subject(String subject) {
+ doSetProperty("subject", subject);
return this;
}
/**
- * The list of algorithms, in order of preference, requested to
generate
- * a message integrity check (MIC) returned in message dispostion
- * notification (MDN).
+ * The host name (IP or DNS name) of target host.
*
- * The option will be converted to a
- * <code>java.lang.String[]</code> type.
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common
+ *
+ * @param targetHostname the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder targetHostname(String
targetHostname) {
+ doSetProperty("targetHostname", targetHostname);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param targetPortNumber the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder targetPortNumber(
+ Integer targetPortNumber) {
+ doSetProperty("targetPortNumber", targetPortNumber);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param targetPortNumber the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder targetPortNumber(
+ String targetPortNumber) {
+ doSetProperty("targetPortNumber", targetPortNumber);
+ return this;
+ }
+ /**
+ * 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
*
+ * @param userAgent the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder userAgent(String userAgent) {
+ doSetProperty("userAgent", userAgent);
+ return this;
+ }
+ /**
+ * The key used to encrypt the EDI message.
+ *
+ * The option is a: <code>java.security.PrivateKey</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param decryptingPrivateKey the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder decryptingPrivateKey(
+ java.security.PrivateKey decryptingPrivateKey) {
+ doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
+ return this;
+ }
+ /**
+ * The key used to encrypt the EDI message.
+ *
+ * The option will be converted to a
+ * <code>java.security.PrivateKey</code> type.
+ *
+ * Group: security
+ *
+ * @param decryptingPrivateKey the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder decryptingPrivateKey(
+ String decryptingPrivateKey) {
+ doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
+ return this;
+ }
+ /**
+ * The algorithm used to encrypt EDI message.
+ *
+ * The option is a:
+ *
<code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code>
type.
+ *
+ * Group: security
+ *
+ * @param encryptingAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder encryptingAlgorithm(
+ org.apache.camel.component.as2.api.AS2EncryptionAlgorithm
encryptingAlgorithm) {
+ doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param encryptingAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder encryptingAlgorithm(
+ String encryptingAlgorithm) {
+ doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
+ return this;
+ }
+ /**
+ * The chain of certificates used to encrypt EDI message.
+ *
+ * The option is a:
+ * <code>java.security.cert.Certificate[]</code> type.
+ *
+ * Group: security
+ *
+ * @param encryptingCertificateChain the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder encryptingCertificateChain(
+ java.security.cert.Certificate[] encryptingCertificateChain) {
+ doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param encryptingCertificateChain the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder encryptingCertificateChain(
+ String encryptingCertificateChain) {
+ doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param signedReceiptMicAlgorithms the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointProducerBuilder signedReceiptMicAlgorithms(
+ String[] signedReceiptMicAlgorithms) {
+ doSetProperty("signedReceiptMicAlgorithms",
signedReceiptMicAlgorithms);
+ return this;
+ }
+ /**
+ * 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
+ *
* @param signedReceiptMicAlgorithms the value to set
* @return the dsl builder
*/
@@ -1502,7 +1619,7 @@ public interface AS2EndpointBuilderFactory {
* The option is a:
*
<code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code>
type.
*
- * Group: common
+ * Group: security
*
* @param signingAlgorithm the value to set
* @return the dsl builder
@@ -1518,7 +1635,7 @@ public interface AS2EndpointBuilderFactory {
* The option will be converted to a
*
<code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code>
type.
*
- * Group: common
+ * Group: security
*
* @param signingAlgorithm the value to set
* @return the dsl builder
@@ -1534,7 +1651,7 @@ public interface AS2EndpointBuilderFactory {
* The option is a:
* <code>java.security.cert.Certificate[]</code> type.
*
- * Group: common
+ * Group: security
*
* @param signingCertificateChain the value to set
* @return the dsl builder
@@ -1550,7 +1667,7 @@ public interface AS2EndpointBuilderFactory {
* The option will be converted to a
* <code>java.security.cert.Certificate[]</code> type.
*
- * Group: common
+ * Group: security
*
* @param signingCertificateChain the value to set
* @return the dsl builder
@@ -1566,7 +1683,7 @@ public interface AS2EndpointBuilderFactory {
* The option is a: <code>java.security.PrivateKey</code>
* type.
*
- * Group: common
+ * Group: security
*
* @param signingPrivateKey the value to set
* @return the dsl builder
@@ -1582,7 +1699,7 @@ public interface AS2EndpointBuilderFactory {
* The option will be converted to a
* <code>java.security.PrivateKey</code> type.
*
- * Group: common
+ * Group: security
*
* @param signingPrivateKey the value to set
* @return the dsl builder
@@ -1593,78 +1710,41 @@ public interface AS2EndpointBuilderFactory {
return this;
}
/**
- * The value of Subject header of AS2 message.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param subject the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder subject(String subject) {
- doSetProperty("subject", subject);
- return this;
- }
- /**
- * The host name (IP or DNS name) of target host.
+ * Certifiates to validate the messages 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.lang.String</code> type.
- *
- * Group: common
- *
- * @param targetHostname the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder targetHostname(String
targetHostname) {
- doSetProperty("targetHostname", targetHostname);
- return this;
- }
- /**
- * The port number of target host. -1 indicates the scheme default
port.
- *
- * The option is a: <code>java.lang.Integer</code> type.
+ * The option is a:
+ * <code>java.security.cert.Certificate[]</code> type.
*
- * Group: common
+ * Group: security
*
- * @param targetPortNumber the value to set
+ * @param validateSigningCertificateChain the value to set
* @return the dsl builder
*/
- default AS2EndpointProducerBuilder targetPortNumber(
- Integer targetPortNumber) {
- doSetProperty("targetPortNumber", targetPortNumber);
+ default AS2EndpointProducerBuilder validateSigningCertificateChain(
+ java.security.cert.Certificate[]
validateSigningCertificateChain) {
+ doSetProperty("validateSigningCertificateChain",
validateSigningCertificateChain);
return this;
}
/**
- * The port number of target host. -1 indicates the scheme default
port.
+ * Certifiates to validate the messages 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.lang.Integer</code> type.
- *
- * Group: common
- *
- * @param targetPortNumber the value to set
- * @return the dsl builder
- */
- default AS2EndpointProducerBuilder targetPortNumber(
- String targetPortNumber) {
- doSetProperty("targetPortNumber", targetPortNumber);
- return this;
- }
- /**
- * The value included in the User-Agent message header identifying the
- * AS2 user agent.
- *
- * The option is a: <code>java.lang.String</code> type.
+ * <code>java.security.cert.Certificate[]</code> type.
*
- * Default: Camel AS2 Client Endpoint
- * Group: common
+ * Group: security
*
- * @param userAgent the value to set
+ * @param validateSigningCertificateChain the value to set
* @return the dsl builder
*/
- default AS2EndpointProducerBuilder userAgent(String userAgent) {
- doSetProperty("userAgent", userAgent);
+ default AS2EndpointProducerBuilder validateSigningCertificateChain(
+ String validateSigningCertificateChain) {
+ doSetProperty("validateSigningCertificateChain",
validateSigningCertificateChain);
return this;
}
}
@@ -1880,38 +1960,6 @@ public interface AS2EndpointBuilderFactory {
doSetProperty("compressionAlgorithm", compressionAlgorithm);
return this;
}
- /**
- * The key used to encrypt the EDI message.
- *
- * The option is a: <code>java.security.PrivateKey</code>
- * type.
- *
- * Group: common
- *
- * @param decryptingPrivateKey the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder decryptingPrivateKey(
- java.security.PrivateKey decryptingPrivateKey) {
- doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
- return this;
- }
- /**
- * The key used to encrypt the EDI message.
- *
- * The option will be converted to a
- * <code>java.security.PrivateKey</code> type.
- *
- * Group: common
- *
- * @param decryptingPrivateKey the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder decryptingPrivateKey(
- String decryptingPrivateKey) {
- doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
- return this;
- }
/**
* The value of the Disposition-Notification-To header. Assigning a
* value to this parameter requests a message disposition notification
@@ -1941,104 +1989,40 @@ public interface AS2EndpointBuilderFactory {
*/
default AS2EndpointBuilder ediMessageTransferEncoding(
String ediMessageTransferEncoding) {
- doSetProperty("ediMessageTransferEncoding",
ediMessageTransferEncoding);
- return this;
- }
- /**
- * The content type of EDI message. One of application/edifact,
- * application/edi-x12, application/edi-consent.
- *
- * The option is a:
- * <code>org.apache.http.entity.ContentType</code> type.
- *
- * Group: common
- *
- * @param ediMessageType the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder ediMessageType(
- org.apache.http.entity.ContentType ediMessageType) {
- doSetProperty("ediMessageType", ediMessageType);
- return this;
- }
- /**
- * The content type of EDI message. One of application/edifact,
- * application/edi-x12, application/edi-consent.
- *
- * The option will be converted to a
- * <code>org.apache.http.entity.ContentType</code> type.
- *
- * Group: common
- *
- * @param ediMessageType the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder ediMessageType(String ediMessageType) {
- doSetProperty("ediMessageType", ediMessageType);
- return this;
- }
- /**
- * The algorithm used to encrypt EDI message.
- *
- * The option is a:
- *
<code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code>
type.
- *
- * Group: common
- *
- * @param encryptingAlgorithm the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder encryptingAlgorithm(
- org.apache.camel.component.as2.api.AS2EncryptionAlgorithm
encryptingAlgorithm) {
- doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
- return this;
- }
- /**
- * 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: common
- *
- * @param encryptingAlgorithm the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder encryptingAlgorithm(
- String encryptingAlgorithm) {
- doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
+ doSetProperty("ediMessageTransferEncoding",
ediMessageTransferEncoding);
return this;
}
/**
- * The chain of certificates used to encrypt EDI message.
+ * The content type of EDI message. One of application/edifact,
+ * application/edi-x12, application/edi-consent.
*
* The option is a:
- * <code>java.security.cert.Certificate[]</code> type.
+ * <code>org.apache.http.entity.ContentType</code> type.
*
* Group: common
*
- * @param encryptingCertificateChain the value to set
+ * @param ediMessageType the value to set
* @return the dsl builder
*/
- default AS2EndpointBuilder encryptingCertificateChain(
- java.security.cert.Certificate[] encryptingCertificateChain) {
- doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
+ default AS2EndpointBuilder ediMessageType(
+ org.apache.http.entity.ContentType ediMessageType) {
+ doSetProperty("ediMessageType", ediMessageType);
return this;
}
/**
- * The chain of certificates used to encrypt EDI message.
+ * The content type of EDI message. One of application/edifact,
+ * application/edi-x12, application/edi-consent.
*
* The option will be converted to a
- * <code>java.security.cert.Certificate[]</code> type.
+ * <code>org.apache.http.entity.ContentType</code> type.
*
* Group: common
*
- * @param encryptingCertificateChain the value to set
+ * @param ediMessageType the value to set
* @return the dsl builder
*/
- default AS2EndpointBuilder encryptingCertificateChain(
- String encryptingCertificateChain) {
- doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
+ default AS2EndpointBuilder ediMessageType(String ediMessageType) {
+ doSetProperty("ediMessageType", ediMessageType);
return this;
}
/**
@@ -2294,6 +2278,177 @@ public interface AS2EndpointBuilderFactory {
doSetProperty("serverPortNumber", serverPortNumber);
return this;
}
+ /**
+ * The value of Subject header of AS2 message.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common
+ *
+ * @param subject the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder subject(String subject) {
+ doSetProperty("subject", subject);
+ return this;
+ }
+ /**
+ * The host name (IP or DNS name) of target host.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common
+ *
+ * @param targetHostname the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder targetHostname(String targetHostname) {
+ doSetProperty("targetHostname", targetHostname);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param targetPortNumber the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder targetPortNumber(Integer targetPortNumber) {
+ doSetProperty("targetPortNumber", targetPortNumber);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param targetPortNumber the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder targetPortNumber(String targetPortNumber) {
+ doSetProperty("targetPortNumber", targetPortNumber);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param userAgent the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder userAgent(String userAgent) {
+ doSetProperty("userAgent", userAgent);
+ return this;
+ }
+ /**
+ * The key used to encrypt the EDI message.
+ *
+ * The option is a: <code>java.security.PrivateKey</code>
+ * type.
+ *
+ * Group: security
+ *
+ * @param decryptingPrivateKey the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder decryptingPrivateKey(
+ java.security.PrivateKey decryptingPrivateKey) {
+ doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
+ return this;
+ }
+ /**
+ * The key used to encrypt the EDI message.
+ *
+ * The option will be converted to a
+ * <code>java.security.PrivateKey</code> type.
+ *
+ * Group: security
+ *
+ * @param decryptingPrivateKey the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder decryptingPrivateKey(
+ String decryptingPrivateKey) {
+ doSetProperty("decryptingPrivateKey", decryptingPrivateKey);
+ return this;
+ }
+ /**
+ * The algorithm used to encrypt EDI message.
+ *
+ * The option is a:
+ *
<code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code>
type.
+ *
+ * Group: security
+ *
+ * @param encryptingAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder encryptingAlgorithm(
+ org.apache.camel.component.as2.api.AS2EncryptionAlgorithm
encryptingAlgorithm) {
+ doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param encryptingAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder encryptingAlgorithm(
+ String encryptingAlgorithm) {
+ doSetProperty("encryptingAlgorithm", encryptingAlgorithm);
+ return this;
+ }
+ /**
+ * The chain of certificates used to encrypt EDI message.
+ *
+ * The option is a:
+ * <code>java.security.cert.Certificate[]</code> type.
+ *
+ * Group: security
+ *
+ * @param encryptingCertificateChain the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder encryptingCertificateChain(
+ java.security.cert.Certificate[] encryptingCertificateChain) {
+ doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
+ return this;
+ }
+ /**
+ * 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
+ *
+ * @param encryptingCertificateChain the value to set
+ * @return the dsl builder
+ */
+ default AS2EndpointBuilder encryptingCertificateChain(
+ String encryptingCertificateChain) {
+ doSetProperty("encryptingCertificateChain",
encryptingCertificateChain);
+ return this;
+ }
/**
* The list of algorithms, in order of preference, requested to
generate
* a message integrity check (MIC) returned in message dispostion
@@ -2301,7 +2456,7 @@ public interface AS2EndpointBuilderFactory {
*
* The option is a: <code>java.lang.String[]</code> type.
*
- * Group: common
+ * Group: security
*
* @param signedReceiptMicAlgorithms the value to set
* @return the dsl builder
@@ -2319,7 +2474,7 @@ public interface AS2EndpointBuilderFactory {
* The option will be converted to a
* <code>java.lang.String[]</code> type.
*
- * Group: common
+ * Group: security
*
* @param signedReceiptMicAlgorithms the value to set
* @return the dsl builder
@@ -2335,7 +2490,7 @@ public interface AS2EndpointBuilderFactory {
* The option is a:
*
<code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code>
type.
*
- * Group: common
+ * Group: security
*
* @param signingAlgorithm the value to set
* @return the dsl builder
@@ -2351,7 +2506,7 @@ public interface AS2EndpointBuilderFactory {
* The option will be converted to a
*
<code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code>
type.
*
- * Group: common
+ * Group: security
*
* @param signingAlgorithm the value to set
* @return the dsl builder
@@ -2366,7 +2521,7 @@ public interface AS2EndpointBuilderFactory {
* The option is a:
* <code>java.security.cert.Certificate[]</code> type.
*
- * Group: common
+ * Group: security
*
* @param signingCertificateChain the value to set
* @return the dsl builder
@@ -2382,7 +2537,7 @@ public interface AS2EndpointBuilderFactory {
* The option will be converted to a
* <code>java.security.cert.Certificate[]</code> type.
*
- * Group: common
+ * Group: security
*
* @param signingCertificateChain the value to set
* @return the dsl builder
@@ -2398,7 +2553,7 @@ public interface AS2EndpointBuilderFactory {
* The option is a: <code>java.security.PrivateKey</code>
* type.
*
- * Group: common
+ * Group: security
*
* @param signingPrivateKey the value to set
* @return the dsl builder
@@ -2414,7 +2569,7 @@ public interface AS2EndpointBuilderFactory {
* The option will be converted to a
* <code>java.security.PrivateKey</code> type.
*
- * Group: common
+ * Group: security
*
* @param signingPrivateKey the value to set
* @return the dsl builder
@@ -2424,76 +2579,41 @@ public interface AS2EndpointBuilderFactory {
return this;
}
/**
- * The value of Subject header of AS2 message.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param subject the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder subject(String subject) {
- doSetProperty("subject", subject);
- return this;
- }
- /**
- * The host name (IP or DNS name) of target host.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param targetHostname the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder targetHostname(String targetHostname) {
- doSetProperty("targetHostname", targetHostname);
- return this;
- }
- /**
- * The port number of target host. -1 indicates the scheme default
port.
+ * Certifiates to validate the messages 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.lang.Integer</code> type.
+ * The option is a:
+ * <code>java.security.cert.Certificate[]</code> type.
*
- * Group: common
+ * Group: security
*
- * @param targetPortNumber the value to set
+ * @param validateSigningCertificateChain the value to set
* @return the dsl builder
*/
- default AS2EndpointBuilder targetPortNumber(Integer targetPortNumber) {
- doSetProperty("targetPortNumber", targetPortNumber);
+ default AS2EndpointBuilder validateSigningCertificateChain(
+ java.security.cert.Certificate[]
validateSigningCertificateChain) {
+ doSetProperty("validateSigningCertificateChain",
validateSigningCertificateChain);
return this;
}
/**
- * The port number of target host. -1 indicates the scheme default
port.
+ * Certifiates to validate the messages 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.lang.Integer</code> type.
- *
- * Group: common
- *
- * @param targetPortNumber the value to set
- * @return the dsl builder
- */
- default AS2EndpointBuilder targetPortNumber(String targetPortNumber) {
- doSetProperty("targetPortNumber", targetPortNumber);
- return this;
- }
- /**
- * The value included in the User-Agent message header identifying the
- * AS2 user agent.
- *
- * The option is a: <code>java.lang.String</code> type.
+ * <code>java.security.cert.Certificate[]</code> type.
*
- * Default: Camel AS2 Client Endpoint
- * Group: common
+ * Group: security
*
- * @param userAgent the value to set
+ * @param validateSigningCertificateChain the value to set
* @return the dsl builder
*/
- default AS2EndpointBuilder userAgent(String userAgent) {
- doSetProperty("userAgent", userAgent);
+ default AS2EndpointBuilder validateSigningCertificateChain(
+ String validateSigningCertificateChain) {
+ doSetProperty("validateSigningCertificateChain",
validateSigningCertificateChain);
return this;
}
}