8.3. Spring Boot Auto-Configuration
组件支持 28 个选项,如下所列。
名称 | 描述 | 默认值 | 类型 |
---|---|---|---|
camel.component.as2.configuration.api-name | 要执行的操作 | AS2ApiName | |
camel.component.as2.configuration.as2-from | AS2From 标头的 AS2From 标头的值。 | 字符串 | |
camel.component.as2.configuration.as2-message-structure | AS2 消息的结构.其中一个: PLAIN - No encryption, no encryption, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature | AS2MessageStructure | |
camel.component.as2.configuration.as2-to | AS2To 标头的 AS2 消息的值。 | 字符串 | |
camel.component.as2.configuration.as2-version | AS2 协议的版本。 | 1.1 | 字符串 |
camel.component.as2.configuration.client-fqdn | 客户端完全限定域名(FQDN)。在端点发送的消息 ids 中使用。 | camel.apache.org | 字符串 |
camel.component.as2.configuration.disposition-notification-to | Disposition-Notification-To 标头的值。为此参数分配一个值,请求 AS2 消息的消息分布通知(MDN)。 | 字符串 | |
camel.component.as2.configuration.edi-message-transfer-encoding | EDI 消息的传输编码。 | 字符串 | |
camel.component.as2.configuration.edi-message-type | EDI 消息的内容类型。一个 application/edifact, application/edi-x12, application/edi-consent | ContentType | |
camel.component.as2.configuration.encrypting-algorithm | 用于加密 EDI 消息的算法。 | AS2EncryptionAlgorithm | |
camel.component.as2.configuration.encrypting-certificate-chain | 用于加密 EDI 消息的证书链。 | Certificate[] | |
camel.component.as2.configuration.encrypting-private-key | 用于加密 EDI 消息的密钥。 | PrivateKey | |
camel.component.as2.configuration.from | AS2 消息的 From 标头的值。 | 字符串 | |
camel.component.as2.configuration.method-name | 用于所选操作的子操作 | 字符串 | |
camel.component.as2.configuration.request-uri | EDI 消息的请求 URI。 | / | 字符串 |
camel.component.as2.configuration.server | 包括在用于标识 AS2 服务器的 Server 消息标头中的值。 | Camel AS2 服务器端点 | 字符串 |
camel.component.as2.configuration.server-fqdn | 服务器完全限定域名(FQDN)。在端点发送的消息 ids 中使用。 | camel.apache.org | 字符串 |
camel.component.as2.configuration.server-port-number | 服务器的端口号。 | 整数 | |
camel.component.as2.configuration.signed-receipt-mic-algorithms | 按首选方式的算法列表,以生成消息分布通知(MDN)返回的消息完整性检查(MIC) | String[] | |
camel.component.as2.configuration.signing-algorithm | 用于签署 EDI 消息的算法。 | AS2SignatureAlgorithm | |
camel.component.as2.configuration.signing-certificate-chain | 用于签名 EDI 消息的证书链。 | Certificate[] | |
camel.component.as2.configuration.signing-private-key | 用于签署 EDI 消息的密钥。 | PrivateKey | |
camel.component.as2.configuration.subject | AS2 消息的主题标头值。 | 字符串 | |
camel.component.as2.configuration.target-hostname | 目标主机的主机名(IP 或 DNS 名称)。 | 字符串 | |
camel.component.as2.configuration.target-port-number | 目标主机的端口号。-1 表示方案默认端口。 | 整数 | |
camel.component.as2.configuration.user-agent | User-Agent 消息标头中包含的值标识 AS2 用户代理。 | Camel AS2 客户端端点 | 字符串 |
camel.component.as2.enabled | 是否启用 as2 组件的自动配置。这默认是启用的。 | 布尔值 | |
camel.component.as2.resolve-property-placeholders | 启动时组件是否应解析自身上的属性占位符。只有属于 String 类型的属性才能使用属性占位符。 | true | 布尔值 |