---
schema_version: "1"
id: a3710c12680103c4c4d1c95baa104ade5fc14c988157e9f6e365589357551fe9
title: AS2 Connector 7.0 Reference
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/as2-connector/latest/as2-connector-reference.md
canonical_url: https://docs.mulesoft.com/as2-connector/latest/as2-connector-reference
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 70d09bdf2ae73de93241ccbd07f5c90bc06fd3e95e8ad20fbe589029726a3e13
description: MuleSoft Documentation Site
release: "7.0"
latest: true
---
---
product: AS2 Connector
version: 7.0
is-latest-version: true
---

# AS2 Connector 7.0 Reference

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Anypoint Connector for AS2 (AS2 Connector) enables trading partners to transmit and receive AS2
messages that contain EDI-X12, EDIFACT, XML, or binary payloads.

## Configurations

---

### Listener Config

#### General Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name for this configuration. Connectors reference the configuration with this name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Connection</strong></p></td><td><div><div><p><a href="#ListenerConfig_async-mdn-connection-provider">Async Mdn Connection</a></p></div></div></td><td><div><div><p>The connection types for this configuration.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>HTTP Listener</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Reference to global HTTP Listener definition for our service endpoint used by partner for both action and signal messages.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Security Requirement Level</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>SIGNED</p></li><li><p>ENCRYPTED</p></li><li><p>SIGNED_ENCRYPTED</p></li></ul></div></div></td><td><div><div><p>The security level required for any AS2 Listener using this configuration for all incoming messages. An error MDN response results if the security requirement is not met.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Keystore Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The password of the provided keystore.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Keystore Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The Absolute or relative path to the keystore containing certificates and private keys for self (this application) and the partner.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Private Key Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Private key password, if the private key to use for signing the MDN is password protected.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Validate certificate expiration date</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>If enabled, the connector can’t receive or send messages if the certificate is expired.</p></div></div></td><td><div><div><p>false</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Warning before (days)</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The number of days before the certificate expiration date when the connector sends a warning message that the certificate is about to expire. For example, if the value of this field is <code>3</code>, then the connector sends a warning message three days before the certificate expiration date.<br><br>This field applies only when the value of this field is greater than <code>0</code> and the <strong>Validate certificate expiration date</strong> field is enabled.</p></div></div></td><td><div><div><p>30</p></div></div></td><td><div></div></td></tr></tbody></table>

#### Partners Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Inbound Request Authentication</strong></p></td><td><div><div><p><a href="#AS2BasicAuthentication">AS2 Basic Authentication</a></p></div></div></td><td><div><div><p>Authentication method to use for verifying the incoming HTTP request when using dedicated mode.</p></div><div><p>Do not select this field if you are using shared mode or you will receive an error.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Self config - AS2 Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 system identifier used for AS2-From and AS2-To headers.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Self config - x509 Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Certificate, private key alias, or both in the keystore. Required if using signing or encryption.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Self config - email</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Email address used as the HTTP <code>From</code> header when sending AS2 messages.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Use different Alias for MDN Signature</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>(Applies to the <strong>AS2 Listener</strong> source) Use the alias specified in <strong>Alias For MDN Signature</strong> to use a different keystore entry for the MDN signature.</p></div></div></td><td><div><div><p>true</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Alias For MDN Signature</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>(Applies to the <strong>AS2 Listener</strong> source) Alias to use for the MDN signature if using a different alias for the MDN signature than for decryption. This field takes effect when <strong>Use different Alias for MDN Signature</strong> is <code>true</code>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Private Key Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Private key password, if the private key to use for signing the MDN is password protected.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Self config - Listener Mode</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>Dedicated mode</p></li><li><p>Shared mode</p></li></ul></div></div></td><td><div><div><ul><li><p>Dedicated mode</p><div><p>Enables you to configure a single AS2 listener endpoint to receive messages from one partner only.</p></div><div><p>If you select <strong>Dedicated mode</strong>, check <strong>Partner config</strong> (mandatory) and configure the partner using the Dedicated mode fields in this table.</p></div></li><li><p>Shared Mode</p><div><p>Enables you to configure a single AS2 listener endpoint to receive messages from multiple partners.</p></div><div><p>If you select <strong>Shared mode</strong>, uncheck <strong>Partner config</strong> (mandatory) and configure each partner using the Shared mode fields in this table.</p></div></li></ul></div></div></td><td><div><div><p>Dedicated mode</p></div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Dedicated mode - Partner Config - AS2 Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 system identifier used for AS2-From and AS2-To headers.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Dedicated mode - Partner Config - x509 Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Certificate, private key alias, or both in the keystore. Required if using signing or encryption.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Dedicated mode - Partner Config - email</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Email address used as the HTTP <code>From</code> header when sending AS2 messages.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Shared mode - Partners</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>Expression</p></li><li><p>Inline</p></li></ul></div></div></td><td><div><div><p>Indicates whether to add partner information by using an expression or by entering values inline.</p></div></div></td><td><div><div><p>Expression</p></div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Shared mode - Partners - AS2 Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 system identifier used for AS2-From and AS2-To headers.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Shared mode - Partners - x509 Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Certificate, private key alias, or both in the keystore. Required if using signing or encryption.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Shared mode - Partners - email</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Email address used as the HTTP <code>From</code> header when sending an AS2 message.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Shared mode - Inbound Request Authentication</strong></p></td><td><div><div><p><a href="#AS2BasicAuthentication">AS2 Basic Authentication</a></p></div></div></td><td><div><div><p>Authentication method to use for verifying the incoming HTTP request.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Advanced Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Check for duplicate messages</strong></p></td><td><div></div></td><td><div><div><p>Checks for duplicate messages:</p></div><div><ul><li><p>If selected, the connector checks to see if a new received message is duplicated, as determined by comparing the following values in the new message to those in existing messages:</p><div><ul><li><p>Sender (from the AS2-From field)</p></li><li><p>Receiver (from the AS2-To field)</p></li><li><p>Message ID (from the Message-Id field)</p></li></ul></div><div><p>If all three values match an existing message, the connector rejects the duplicate message. If selected, you must:</p></div><div><ul><li><p>Reference a global object store in the <strong>Object Store</strong> field. This object store will store the existing messages.</p></li><li><p>Add the object store dependency to your project by adding the <strong>ObjectStore</strong> component to the Studio canvas or adding it to the <code>pom.xml</code>, as follows:</p><div><div><pre>&lt;dependency&gt;
  &lt;groupId&gt;org.mule.connectors&lt;/groupId&gt;
  &lt;artifactId&gt;mule-objectstore-connector&lt;/artifactId&gt;
  &lt;version&gt;_latest-version_&lt;/version&gt;
  &lt;classifier&gt;mule-plugin&lt;/classifier&gt;
&lt;/dependency&gt;</pre></div></div><div><p>For the latest object store version, see the <a href="https://docs.mulesoft.com/release-notes/connector/object-store-connector-release-notes-mule-4">Object Store Connector Release Notes</a>.<br><br>If the MDN mode is <code>AUTO</code>, use the Idempotent Message Validator instead of the <strong>Check for duplicate messages</strong> field to check for duplicate messages. If the MDN mode is <code>IMMEDIATE</code>, the validator does not work. Therefore, in this circumstance, you must use the <strong>Check for duplicate messages</strong> field to check for duplicate messages. For more information, see <a href="https://docs.mulesoft.com/mule-runtime/latest/idempotent-message-validator">Idempotent Message Validator</a>.<br><br></p></div></li><li><p>If deselected, the connector accepts duplicate messages.</p></li></ul></div></li></ul></div></div></td><td><div><div><p>false</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Object Store</strong></p></td><td><div><div><p>Object Store</p></div></div></td><td><div><div><p>Object store where the connector stores new messages. This field is mandatory if the <strong>Check for duplicate messages</strong> field is selected.<br><br>For information about setting field values for this object store, see the <a href="https://docs.mulesoft.com/object-store-connector/latest/object-store-connector-reference">Object Store Connector Reference</a>.<br><br>You might experience limitations that are specific to the object store implementation you are using (Anypoint Object Store V2 (OSv2), CloudHub Object Store V1 (OSv1), or Mule Object Store), so configure the object store to suit your needs. For more information, see <a href="https://help.salesforce.com/s/articleView?id=001123185&amp;type=1">The Different Types of Object Stores Explained.</a></p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Expiration policy</strong></p></td><td><div><div><p><a href="#ExpirationPolicy">Expiration Policy</a></p></div></div></td><td><div><div><p>Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. This does not mean that the platform expires the instance at the exact moment that it becomes eligible. Mule purges the instances as appropriate.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Connection Types

##### Async MDN Connection Provider

###### Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Use Persistent Connections</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>If false, each connection is closed after the first request completes.</p></div></div></td><td><div><div><p>false</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How long the connector waits before timing out when establishing a connection to the remote service. This value is qualified by the <strong>Connection Timeout Units</strong> field.</p></div></div></td><td><div><div><p>30</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Timeout Units</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NANOSECONDS</p></li><li><p>MICROSECONDS</p></li><li><p>MILLISECONDS</p></li><li><p>SECONDS</p></li><li><p>MINUTES</p></li><li><p>HOURS</p></li><li><p>DAYS</p></li></ul></div></div></td><td><div><div><p>A time unit that qualifies the value of the <strong>Connection Timeout</strong> field.</p></div></div></td><td><div><div><p>SECONDS</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Max Connections</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The maximum number of outbound connections to keep open at the same time. By default, the number of connections is unlimited.</p></div></div></td><td><div><div><p>-1</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Idle Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>A timeout for how long a connection can remain idle before it is closed. The value of this attribute is only used when persistent connections are enabled. This value is qualified by the <strong>Connection Idle Timeout Units</strong> field.</p></div></div></td><td><div><div><p>30</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Idle Timeout Units</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NANOSECONDS</p></li><li><p>MICROSECONDS</p></li><li><p>MILLISECONDS</p></li><li><p>SECONDS</p></li><li><p>MINUTES</p></li><li><p>HOURS</p></li><li><p>DAYS</p></li></ul></div></div></td><td><div><div><p>A time unit that qualifies the value of the <strong>Connection Idle Timeout</strong> field.</p></div></div></td><td><div><div><p>MINUTES</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Retry Interval</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The interval between each retry, in seconds.</p></div></div></td><td><div><div><p>60</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Retry Count</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The number of retries. A value of <code>0</code> means no retries.)</p></div></div></td><td><div><div><p>0</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Proxy Config</strong></p></td><td><div><div><p>One of:</p></div><div><ul><li><p><a href="#proxy">Proxy</a></p></li><li><p><a href="#ntlm-proxy">NTLM Proxy</a></p></li></ul></div></div></td><td><div><div><p>Reusable configuration element for outbound connections through a proxy. A proxy element must define a host name and a port attributes, and optionally can define a username and password.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>TLS Configuration</strong></p></td><td><div><div><p><a href="#Tls">TLS</a></p></div></div></td><td><div><div><p>Reference to a TLS config element. This enables HTTPS for this configuration.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection</strong></p></td><td><div><div><p><a href="#Reconnection">Reconnection</a></p></div></div></td><td><div><div><p>When the application is deployed, a connectivity test is performed on all connectors. If set to true, the deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Associated Sources

- [As2 Listener](#as2-listener)

---

### MDN Listener Config

#### General Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name for this configuration. Connectors reference the configuration with this name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>HTTP Listener</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Reference to global HTTP Listener definition for our service endpoint used by a partner for both action and signal messages.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Keystore Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The password of the provided keystore.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Keystore Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The Absolute or relative path to the keystore containing certificates and private keys for self(this application) and the partner.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Private Key Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Private key password, if the private key to use for signing the MDN is password protected.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Validate certificate expiration date</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>If enabled, the connector can’t receive or send messages if the certificate is expired.</p></div></div></td><td><div><div><p>false</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Warning before (days)</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The number of days before the certificate expiration date when the connector sends a warning message that the certificate is about to expire. For example, if the value of this field is <code>3</code>, then the connector sends a warning message three days before the certificate expiration date.<br><br>This field applies only when the value of this field is greater than <code>0</code> and the <strong>Validate certificate expiration date</strong> field is enabled.</p></div></div></td><td><div><div><p>30</p></div></div></td><td><div></div></td></tr></tbody></table>

#### Advanced Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Expiration policy</strong></p></td><td><div><div><p><a href="#ExpirationPolicy">Expiration Policy</a></p></div></div></td><td><div><div><p>Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. This does not mean that the platform expires the instance at the exact moment that it becomes eligible. Mule purges the instances as appropriate.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Partners Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Self config - AS2 Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 system identifier used for AS2-From and AS2-To headers.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Self config - x509 Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Certificate, private key alias, or both in the keystore. Required if using signing or encryption.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Self config - email</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Email address used as the HTTP <code>From</code> header when sending 12 messages.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>MDN Listener Mode</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>Mdn dedicated mode</p></li><li><p>Mdn shared mode</p></li></ul></div></div></td><td><div><div><ul><li><p>Mdn dedicated mode</p><div><p>Enables you to configure a single AS2 listener endpoint to receive MDNs from one partner only.</p></div><div><p>If you select <strong>Mdn dedicated mode</strong>, check <strong>Partner config</strong> (mandatory) and configure the partner using the Mdn dedicated mode fields in this table.</p></div></li><li><p>Mdn shared mode</p><div><p>Enables you to configure a single AS2 listener endpoint to receive MDNs from multiple partners.</p></div><div><p>If you select <strong>Mdn shared mode</strong>, uncheck <strong>Partner config</strong> (mandatory) and configure each partner using the Mdn shared mode fields in this table.</p></div></li></ul></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn dedicated mode - Partner Config - AS2 Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 system identifier used for AS2-From and AS2-To headers.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn dedicated mode - Partner Config - x509 Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Certificate, private key alias, or both in the keystore. Required if using signing or encryption.</p></div></div></td><td><div><div><p>Dedicated mode</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Mdn shared mode - Partners</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>Expression</p></li><li><p>Inline</p></li></ul></div></div></td><td><div><div><p>Indicates whether to add partner information by using an expression or by entering values inline.</p></div></div></td><td><div><div><p>Expression</p></div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn dedicated mode - Partner Config - email</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Email address used as the HTTP <code>From</code> header when sending MDNs.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn shared mode - Partners - AS2 Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 system identifier used for AS2-From and AS2-To headers.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn shared mode - Partners - x509 Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Certificate, private key alias, or both in the keystore. Required if using signing or encryption.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Mdn shared mode - Partners - email</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Email address used as the HTTP <code>From</code> header when sending MDNs.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr></tbody></table>

#### Associated Sources

- [As2 Mdn Listener](#as2-mdn-listener)

---

### Send Config

This class represents an extension configuration, values set in this class are commonly used across
multiple operations since they represent something core from the extension.

#### Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name for this configuration. Connectors reference the configuration with this name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Connection</strong></p></td><td><div><div><p><a href="#send-config_connection">Outbound Connection Config</a></p></div></div></td><td><div><div><p>The connection types for this configuration.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Expiration Policy</strong></p></td><td><div><div><p><a href="#ExpirationPolicy">Expiration Policy</a></p></div></div></td><td><div><div><p>Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. This does not mean that the platform expires the instance at the exact moment that it becomes eligible. Mule purges the instances as appropriate.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>General - Transfer Mode Configuration</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>Chunked transfer mode</p></li><li><p>Identity transfer mode</p></li><li><p>Threshold transfer mode</p></li></ul></div></div></td><td><div><div><p>The transfer mode applied when sending information:</p></div><div><ul><li><p>Chunked transfer mode</p><div><p>Sends the headers without the Content-Length property and modifies the message body to transfer it as a series of chunks.</p></div></li><li><p>Identity transfer mode</p><div><p>Sends the headers with the Content-Length property and sends the whole message body.</p></div></li><li><p>Threshold transfer mode</p><div><p>Sends the headers and message body according to the specified threshold.</p></div><div><ul><li><p>If the message body is less than or equal to the threshold, the connector uses the Identity transfer mode option.</p></li><li><p>If the message body is greater than the threshold, the connector uses the Chunked transfer mode option.</p></li></ul></div></li></ul></div></div></td><td><div><div><p>Chunked transfer mode</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Threshold</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Threshold used when the General - Transfer Mode Configuration field is set to <code>Threshold transfer mode</code>.</p></div></div></td><td><div><div><p>64</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Threshold Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>Byte</p></li><li><p>GB</p></li><li><p>KB</p></li></ul></div></div></td><td><div><div><p>Unit associated with the Threshold field.</p></div></div></td><td><div><div><p>KB</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>General - Propagate Content Transfer Encoding</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Indicates whether to propagate the content transfer encoding on the AS2 message sent to the partner:</p></div><div><ul><li><p>True: The main content transfer encoding is propagated to every MIME part of the resulting message.</p></li><li><p>False: Signed and encrypted MIME parts are encoded with Base64.</p></li></ul></div></div></td><td><div><div><p>False</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>General - Custom Message ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Enables the specification of a custom AS2 Message ID</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Partner Config - AS2 Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 system identifier (used for AS2-From and AS2-To headers)</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Partner Config - x509 Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Certificate, private key alias, or both in the keystore (required if using signing or encryption)</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Partner Config - email</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Email address used as HTTP <code>From</code> header when sending</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>MDN Partner Config - Use different Alias for MDN Signature</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>(Applies to the <strong>Send with Sync Mdn</strong> operation) Use the alias specified in <strong>Alias For MDN Signature</strong> as the alias for MDN signature validation.</p></div></div></td><td><div><div><p>true</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>MDN Partner Config - Alias For MDN Signature</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>(Applies to the <strong>Send with Sync Mdn</strong> operation) Alias to use for MDN signature validation if using a different alias for MDN signature validation than for encryption. This field takes effect when <strong>Use different Alias for MDN Signature</strong> is <code>true</code>.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Self config - AS2 Partner Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 system identifier (used for AS2-From and AS2-To headers)</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Self config - x509 Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Certificate, private key alias or both in keystore (required if using signing or encryption)</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Self config - email</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Email address used as HTTP <code>From</code> header when sending</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Subject</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Free form text for MIME Subject header</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>MIC Signature Algorithm</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>MD5</p></li><li><p>SHA1</p></li><li><p>SHA224</p></li><li><p>SHA256</p></li><li><p>SHA384</p></li><li><p>SHA512</p></li><li><p>UNSIGNED</p></li></ul></div></div></td><td><div><div><p>Algorithm to use when setting the message integrity check value.</p></div></div></td><td><div><div><p>UNSIGNED</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>MDN MIC Signature Algorithm</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>MD5</p></li><li><p>SHA1</p></li><li><p>SHA224</p></li><li><p>SHA256</p></li><li><p>SHA384</p></li><li><p>SHA512</p></li><li><p>UNSIGNED</p></li></ul></div></div></td><td><div><div><p>Request partner to respond with a signed MDN using this algorithm for calculating MIC</p></div></div></td><td><div><div><p>UNSIGNED</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Encryption Algorithm</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>DES</p></li><li><p>DES_EDE3</p></li><li><p>RC2</p></li><li><p>AES128_CBC</p></li><li><p>AES192_CBC</p></li><li><p>AES256_CBC</p></li><li><p>AES128_CCM</p></li><li><p>AES192_CCM</p></li><li><p>AES256_CCM</p></li><li><p>AES128_GCM</p></li><li><p>AES192_GCM</p></li><li><p>AES256_GCM</p></li><li><p>AES256_WRAP</p></li><li><p>CAST5</p></li><li><p>UNENCRYPTED</p></li></ul></div></div></td><td><div><div><p>The Algorithm to use when encrypting the message to be sent</p></div></div></td><td><div><div><p>UNENCRYPTED</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Content Transfer Encoding</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>BASE64</p></li><li><p>QUOTED_PRINTABLE</p></li><li><p>SEVEN_BIT</p></li><li><p>EIGHT_BIT</p></li><li><p>BINARY</p></li></ul></div></div></td><td><div><div><p>The encoding to use on the content of AS2 message being sent.</p></div></div></td><td><div><div><p>BINARY</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Request A Receipt</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NONE</p></li><li><p>UNSIGNED</p></li><li><p>SIGNED_OPTIONAL</p></li><li><p>SIGNED_REQUIRED</p></li></ul></div></div></td><td><div><div><p>How the connector behaves based on the received receipts.</p></div></div></td><td><div><div><p>UNSIGNED</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Compression Type</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NONE</p></li><li><p>ZLIB</p></li></ul></div></div></td><td><div><div><p>The Compression type to use</p></div></div></td><td><div><div><p>NONE</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Receipt Delivery URL</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The asynchronous MDN delivery address to which the MDN is returned. This should be the fully formed URL to the <strong>As 2 mdn listener</strong> source, for example, <code>https://example.com/mdn</code>.<br><br>If a flow uses the <strong>Send With Async MDN</strong> operation, then either this field or the <strong>Receipt Delivery URL</strong> field associated with that operation is required. If both fields have values, the value for the operation overrides the value for the global configuration.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Keystore Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The password of the provided keystore.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Keystore Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The Absolute or relative path to the keystore containing certificates and private keys for self(this application) and the partner.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Private Key Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Private key password, if the private key to use for signing the MDN is password protected.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Validate certificate expiration date</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>If enabled, the connector can’t receive or send messages if the certificate is expired.</p></div></div></td><td><div><div><p>false</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Warning before (days)</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The number of days before the certificate expiration date when the connector sends a warning message that the certificate is about to expire. For example, if the value of this field is <code>3</code>, then the connector sends a warning message three days before the certificate expiration date.<br><br>This field applies only when the value of this field is greater than <code>0</code> and the <strong>Validate certificate expiration date</strong> field is enabled.</p></div></div></td><td><div><div><p>30</p></div></div></td><td><div></div></td></tr></tbody></table>

#### Connection Types

##### Outbound Connection Config

###### Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Use Persistent Connections</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>If false, each connection is closed after the first request completes.</p></div></div></td><td><div><div><p>false</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How long the connector waits before timing out when establishing a connection to the remote service. This value is qualified by the <strong>Connection Timeout Units</strong> field.</p></div></div></td><td><div><div><p>30</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Timeout Units</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NANOSECONDS</p></li><li><p>MICROSECONDS</p></li><li><p>MILLISECONDS</p></li><li><p>SECONDS</p></li><li><p>MINUTES</p></li><li><p>HOURS</p></li><li><p>DAYS</p></li></ul></div></div></td><td><div><div><p>A time unit that qualifies the value of the <strong>Connection Timeout</strong> field.</p></div></div></td><td><div><div><p>SECONDS</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Max Connections</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The maximum number of outbound connections to keep open at the same time. By default the number of connections is unlimited.</p></div></div></td><td><div><div><p>-1</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Idle Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>A timeout for how long a connection can remain idle before it is closed. The value of this attribute is only used when persistent connections are enabled. This value is qualified by the value of the <strong>Connection Idle Timeout Units</strong> field.</p></div></div></td><td><div><div><p>30</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Idle Timeout Units</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NANOSECONDS</p></li><li><p>MICROSECONDS</p></li><li><p>MILLISECONDS</p></li><li><p>SECONDS</p></li><li><p>MINUTES</p></li><li><p>HOURS</p></li><li><p>DAYS</p></li></ul></div></div></td><td><div><div><p>A time unit that qualifies the value of the <strong>Connection Idle Timeout</strong> field.</p></div></div></td><td><div><div><p>MINUTES</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Proxy Config</strong></p></td><td><div><div><p>One of:</p></div><div><ul><li><p><a href="#proxy">Proxy</a></p></li><li><p><a href="#ntlm-proxy">NTLM Proxy</a></p></li></ul></div></div></td><td><div><div><p>Reusable configuration element for outbound connections through a proxy. A proxy element must define a host name and a port attributes, and optionally can define a username and a password.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Partner URL</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Service endpoint URL to the partner.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Outbound Request Authentication</strong></p></td><td><div><div><p>HttpRequestAuthentication</p></div></div></td><td><div><div><p>Authentication method to use for the HTTP request.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>TLS Configuration</strong></p></td><td><div><div><p><a href="#Tls">TLS</a></p></div></div></td><td><div><div><p>Reference to a TLS config element. This enables HTTPS for this configuration.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection</strong></p></td><td><div><div><p><a href="#Reconnection">Reconnection</a></p></div></div></td><td><div><div><p>When the application is deployed, a connectivity test is performed on all connectors. If set to true, the deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

## Sources

- [As2 Listener](#as2-listener)

- [As2 Mdn Listener](#as2-mdn-listener)

- [Non repudiation listener](#non-repudiation-listener)

### As2 Listener

`<as2-mule4:as2-listener>`

Represents a listener for AS2 sender requests.

#### Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>This path is appended to any path set in the listener configuration.</p></div></div></td><td><div><div><p>/</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>An override for the timeout for establishing connections to the remote service as milliseconds. The default of 0 means this value is not used to override the configuration.</p></div></div></td><td><div><div><p>0</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Non repudiation flow ref</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name of the configured flow that contains the <strong>Non repudiation listener</strong> source.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Mdn mode</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>AUTO</p></li><li><p>IMMEDIATE</p></li></ul></div></div></td><td><div><div><p>MDN deliver mode:</p></div><div><ul><li><p>AUTO: Sends an MDN at the end of the flow.</p></li><li><p>IMMEDIATE: Sends an MDN when the source receives a message.</p></li></ul></div></div></td><td><div><div><p>IMMEDIATE</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Primary Node Only</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Whether to execute this source on only the primary node when running in a cluster.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. The default is to use repeatable streams.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Redelivery Policy</strong></p></td><td><div><div><p><a href="#RedeliveryPolicy">Redelivery Policy</a></p></div></div></td><td><div><div><p>Defines a policy for processing the redelivery of the same message.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p><a href="#AS2ListenerAttributes">AS2 Listener Attributes</a></p></div></div></td></tr></tbody></table>

#### For Configurations

- [Listener Config](#ListenerConfig)

### As2 Mdn Listener

`<as2-mule4:as2-mdn-listener>`

Listens for AS2 requests and automatically sends an MDN back to the receipt URL provided in the
transmission when a request is received.

> [!NOTE] If the receipt URL is inaccessible, the inbound AS2 message is not processed.

#### Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>This path is appended to any path set in the listener configuration.</p></div></div></td><td><div><div><p>/</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Non repudiation flow ref</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name of the configured flow that contains the <strong>Non repudiation listener</strong> source.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Primary Node Only</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Whether to execute this source on only the primary node when running in a cluster.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. The default is to use repeatable streams.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Redelivery Policy</strong></p></td><td><div><div><p><a href="#RedeliveryPolicy">Redelivery Policy</a></p></div></div></td><td><div><div><p>Defines a policy for processing the redelivery of the same message.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p><a href="#AS2MdnAttributes">AS2 Mdn Attributes</a></p></div></div></td></tr></tbody></table>

#### For Configurations

- [MDN Listener Config](#MDNListenerConfig)

### Non repudiation listener

`<as2-mule4:non-repudiation-listener>`

Receives a signed copy of a receipt or a message for persistent non-repudiation storage.

#### Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Display Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name of this configuration. Connectors reference the configuration with this name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The MIME type of the payload passed to this flow.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The encoding of the payload passed to this flow.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Redelivery Policy</strong></p></td><td><div><div><p><a href="#RedeliveryPolicy">Redelivery Policy</a></p></div></div></td><td><div><div><p>Defines a policy for processing the redelivery of the same message.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>Non repeatable stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. The default is to use repeatable streams.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Primary Node Only</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Whether to execute this source on only the primary node when running in a cluster.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p><a href="#AS2ListenerAttributes">AS2 Listener Attributes</a></p></div></div></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p><a href="#AS2MdnAttributes">AS2 Mdn Attributes</a></p></div></div></td></tr></tbody></table>

### For Configurations

None.

## Operations

- [Send With Async Mdn](#sendWithAsyncMdn)

- [Send With Sync Mdn](#sendWithSyncMdn)

### Send With Async Mdn

`<as2-mule4:send-with-async-mdn>`

Performs the send async request using the configuration, client, and AS2 requester parameters, and
completes the callback accordingly.

#### Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>General - Custom Message ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Enables the specification of a custom AS2 Message ID.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. The default is to use repeatable streams.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>AS2 MIME Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The content type of the Document being sent via AS2 (for example, <code>application/EDI-X12</code>). There are no restrictions on the content-type that are supported.</p></div></div></td><td><div><div><p><code>#[payload.^mimeType]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Content Stream</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>The content InputStream to be sent.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Content Description</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Content MIME part content description</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>File Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Filename of the content stream. If not set, the content is transferred without a filename.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Request Receipt</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NONE</p></li><li><p>UNSIGNED</p></li><li><p>SIGNED_OPTIONAL</p></li><li><p>SIGNED_REQUIRED</p></li></ul></div></div></td><td><div><div><p>How the connector behaves based on the received receipts:</p></div><div><ul><li><p>NONE: No receipt is expected.</p></li><li><p>SIGNED_OPTIONAL: Receipt can be signed or unsigned.</p></li><li><p>SIGNED_REQUIRED: Expects a signed receipt. The application fails if the receipt is unsigned.</p></li><li><p>UNSIGNED: Expects an unsigned receipt.</p></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Require Processed</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Requires a processed response in the MDN to continue the flow. An error occurs if the response is unprocessed.</p></div></div></td><td><div><div><p>true</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Override for the timeout for establishing connections to the remote service as milliseconds. The default of 0 means this value is not used to override the configuration.</p></div></div></td><td><div><div><p>0</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Non repudiation flow ref</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the configured flow that contains the <strong>Non repudiation listener</strong> source.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Custom headers</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Enables you to add custom keys to include in outbound AS2 messages. For each key to include, enter values for these name-value pairs:</p></div><div><ul><li><p>Name</p><div><p>Name of the key to send to outbound AS2 messages, formatted as <code>Name:key-name</code></p></div></li><li><p>Value</p><div><p>Content of the key to send to outbound AS2 messages, formatted as <code>Value:key-value</code></p></div></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Receipt Delivery URL</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The asynchronous MDN delivery address to which the MDN is returned. This should be the fully formed URL to the <strong>As 2 mdn listener</strong> source, for example, <code>https://example.com/mdn</code>.<br><br>If a flow uses the <strong>Send With Async MDN</strong> operation, then either this field or the <strong>Receipt Delivery URL</strong> field associated with that operation is required. If both fields have values, the value for the operation overrides the value for the global configuration.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p><a href="#AS2SendAttributes">AS2 Send Attributes</a></p></div></div></td></tr></tbody></table>

### For Configurations

- [Send Config](#send-config)

#### Throws

- AS2-MULE4:CONFIGURATION

- AS2-MULE4:UNAUTHORIZED

- AS2-MULE4:CONNECTIVITY

- AS2-MULE4:RETRY\_EXHAUSTED

### Send With Sync Mdn

`<as2-mule4:send-with-sync-mdn>`

Performs the send sync request using the configuration, client, and AS2 requester parameters, and
completes the callback accordingly.

#### Parameters

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Configuration</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name of the configuration to use.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>General - Custom Message ID</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Enables the specification of a custom AS2 Message ID.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The MIME type of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Output Encoding</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The encoding of the payload that this operation outputs.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Streaming Strategy</strong></p></td><td><div><div><ul><li><p><a href="#repeatable-in-memory-stream">Repeatable In Memory Stream</a></p></li><li><p><a href="#repeatable-file-store-stream">Repeatable File Store Stream</a></p></li><li><p>non-repeatable-stream</p></li></ul></div></div></td><td><div><div><p>Configures how Mule processes streams. The default is to use repeatable streams.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>AS2 MIME Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The content type of the Document being sent via AS2 (for example, application/EDI-X12). There are no restrictions on the content-type that are supported.</p></div></div></td><td><div><div><p><code>#[payload.^mimeType]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Content Stream</strong></p></td><td><div><div><p>Binary</p></div></div></td><td><div><div><p>The content InputStream to be sent.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Content Description</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Content MIME part content description</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>File Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Filename of the content stream. If not set, the content is transferred without a filename.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Request Receipt</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NONE</p></li><li><p>UNSIGNED</p></li><li><p>SIGNED_OPTIONAL</p></li><li><p>SIGNED_REQUIRED</p></li></ul></div></div></td><td><div><div><p>How the connector behaves based on the received receipts:</p></div><div><ul><li><p>NONE: No receipt is expected.</p></li><li><p>SIGNED_OPTIONAL: Receipt can be signed or unsigned.</p></li><li><p>SIGNED_REQUIRED: Expects a signed receipt. The application fails if the receipt is unsigned.</p></li><li><p>UNSIGNED: Expects an unsigned receipt.</p></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Require Processed</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Requires a processed response in the MDN to continue the flow. An error occurs if the response is unprocessed.</p></div></div></td><td><div><div><p>true</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Require Processed</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Require Processed response in the MDN to continue the flow (otherwise there is an error)</p></div></div></td><td><div><div><p>true</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Connection Timeout</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>An override for the timeout for establishing connections to the remote service as milliseconds. The default of 0 means this value is not used to override the configuration.</p></div></div></td><td><div><div><p>0</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Non repudiation flow ref</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The name of the configured flow that contains the <strong>Non repudiation listener</strong> source.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Variable</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Name of the variable that stores the operation’s output.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Target Value</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Expression that evaluates the operation’s output. The outcome of the expression is stored in the <strong>Target Variable</strong> field.</p></div></div></td><td><div><div><p><code>#[payload]</code></p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Custom headers</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Enables you to add custom keys to include in outbound AS2 messages. For each key to include, enter values for these name-value pairs:</p></div><div><ul><li><p>Name</p><div><p>Name of the key to send to outbound AS2 messages, formatted as <code>Name:key-name</code></p></div></li><li><p>Value</p><div><p>Content of the key to send to outbound AS2 messages, formatted as <code>Value:key-value</code></p></div></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

#### Output

<table><colgroup><col> <col></colgroup><tbody><tr><td><p>Type</p></td><td><p>Binary</p></td></tr><tr><td><p>Attributes Type</p></td><td><div><div><p><a href="#AS2SendAttributes">AS2 Send Attributes</a></p></div></div></td></tr></tbody></table>

### For Configurations

- [Send Config](#send-config)

#### Throws

- AS2-MULE4:CONFIGURATION

- AS2-MULE4:MIME\_PARSE

- AS2-MULE4:UNAUTHORIZED

- AS2-MULE4:CONNECTIVITY

- AS2-MULE4:SIGNATURE\_VERIFY

- AS2-MULE4:RETRY\_EXHAUSTED

## Types

### AS2 Basic Authentication

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Username</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Username to authenticate.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password of user to authenticate.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr></tbody></table>

### AS2 Listener Attributes

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>As2 Message Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 unique message ID from receiver to sender.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>filename</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Received filename.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mime Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MIME type, for example, <code>application/xml</code>.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>From Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 Receiver name.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Headers</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>AS2 HTTP headers that elaborate the message format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn Delivery Status</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NONE</p></li><li><p>SUCCESS</p></li><li><p>FAILURE</p></li></ul></div></div></td><td><div><div><p>AS2 message validation status</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>To Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 Sender name</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr></tbody></table>

### AS2 Mdn Attributes

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>As2 Message Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 unique message ID from receiver to sender.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Disposition Content</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>AS2 processed MDN report as headers.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>From Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 Receiver name</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Headers</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>AS2 HTTP headers that elaborate the message format.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn Alg</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>MD5</p></li><li><p>SHA1</p></li><li><p>SHA224</p></li><li><p>SHA256</p></li><li><p>SHA384</p></li><li><p>SHA512</p></li><li><p>UNSIGNED</p></li></ul></div></div></td><td><div><div><p>AS2 message integrity check algorithm used</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn Mic</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 message integrity check hashcode</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Mdn Processed</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>AS2 message validation status</p></div></div></td><td><div><div><p>false</p></div></div></td><td><div></div></td></tr><tr><td><p><strong>Original AS2 Message Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 Message ID received</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Report Text</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>MDN report text</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>To Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 Sender name</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr></tbody></table>

### AS2 Send Attributes

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>As2 Mdn Attributes</strong></p></td><td><div><div><p><a href="#AS2MdnAttributes">AS2 Mdn Attributes</a></p></div></div></td><td><div><div><p>AS2 returned MDN attribute group</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>As2 Message Id</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 unique message ID from receiver to sender</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>From Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 receiver name</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Headers</strong></p></td><td><div><div><p>Object</p></div></div></td><td><div><div><p>AS2 HTTP headers that elaborate the message format</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Msg MIC</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 message integrity check hashcode</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Msg MIC Alg</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 message integrity check algorithm used</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>To Name</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>AS2 sender name</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr></tbody></table>

### Crl File

Specifies the location of the certification revocation list (CRL) file.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path to the CRL file.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Custom Ocsp Responder

Configures a custom OCSP responder for certification revocation checks.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Url</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>URL of the OCSP responder.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Cert Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Alias of the signing certificate for the OCSP response. If specified, the alias must be in the truststore.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Expiration Policy

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Max Idle Time</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Time Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>NANOSECONDS</p></li><li><p>MICROSECONDS</p></li><li><p>MILLISECONDS</p></li><li><p>SECONDS</p></li><li><p>MINUTES</p></li><li><p>HOURS</p></li><li><p>DAYS</p></li></ul></div></div></td><td><div><div><p>A time unit that qualifies the value of the <strong>Max Idle Time</strong> field.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Failure Status Code Validator

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Values</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Comma-separated list of status codes that cause errors to be thrown.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr></tbody></table>

### KeyStore

Configures the keystore for TLS.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path to the keystore. Mule resolves the path relative to the current classpath and file system.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Type of keystore.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Alias</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Alias of the key to use when the keystore contains multiple private keys. By default, Mule uses the first key in the file.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Key Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password used to protect the private key.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password used to protect the keystore.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Algorithm</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encryption algorithm that the keystore uses.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### NTLM Proxy

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Ntlm Domain</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Domain of the NTLM proxy server.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Hostname or IP address of the NTLM proxy server.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Port</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Port of the NTLM proxy server.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Username</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Username to authenticate against the proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password to authenticate against the proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Non Proxy Hosts</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>NTLM hosts that the connector can access without using a proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Proxy

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Host</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Hostname or IP address of the proxy server.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Port</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Port of the proxy server.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr><tr><td><p><strong>Username</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Username to authenticate against the proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password to authenticate against the proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Non Proxy Hosts</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Hosts that the connector can access without using a proxy server.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Reconnect

Configures a standard reconnection strategy, which specifies how often to reconnect and how many
reconnection attempts the connector source or operation can make.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Frequency</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How often to attempt to reconnect, in milliseconds.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Attempts</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How many reconnection attempts to make.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Blocking</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>If false, the reconnection strategy runs in a separate, non-blocking thread.</p></div></div></td><td><div><div><p>true</p></div></div></td><td><div></div></td></tr></tbody></table>

### Reconnect Forever

Configures a forever reconnection strategy by which the connector source or operation attempts to
reconnect at a specified frequency for as long as the Mule app runs.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Frequency (ms)</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>How often to reconnect, in milliseconds</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Blocking</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>If false, the reconnection strategy runs in a separate, non-blocking thread.</p></div></div></td><td><div><div><p>true</p></div></div></td><td><div></div></td></tr></tbody></table>

### Reconnection

Configures a reconnection strategy for an operation.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Fails Deployment</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>What to do if, when an app is deployed, a connectivity test does not pass after exhausting the associated reconnection strategy:</p></div><div><ul><li><p>true: Allow the deployment to fail.</p></li><li><p>false: Ignore the results of the connectivity test.</p></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Reconnection Strategy</strong></p></td><td><div><div><ul><li><p><a href="#reconnect">Reconnect</a></p></li><li><p><a href="#reconnect-forever">Reconnect Forever</a></p></li></ul></div></div></td><td><div><div><p>The reconnection strategy to use.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Redelivery Policy

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Max Redelivery Count</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>The maximum number of times a message can be redelivered and processed unsuccessfully before triggering a process-failed message.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Use Secure Hash</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Whether to use a secure hash algorithm to identify a redelivered message.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Message Digest Algorithm</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>The secure hashing algorithm to use. If not set, the default is SHA-256.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Id Expression</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Defines one or more expressions to use to determine when a message has been redelivered. This property can be set only if useSecureHash is false.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Object Store</strong></p></td><td><div><div><p>Object Store</p></div></div></td><td><div><div><p>The object store where the redelivery counter for each message is stored.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Repeatable File Store Stream

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>In Memory Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:</p></div><div><ul><li><p>Configure a larger buffer size to avoid the number of times Mule needs to write the buffer on disk.</p><div><p>This increases performance, but it also limits the number of concurrent requests your application can process, because it requires additional memory.</p></div></li><li><p>Configure a smaller buffer size to decrease memory load at the expense of response time.</p></li></ul></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>BYTE</p></li><li><p>KB</p></li><li><p>MB</p></li><li><p>GB</p></li></ul></div></div></td><td><div><div><p>The unit in which the value of <strong>In Memory Size</strong> is expressed</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Repeatable In Memory Stream

Configures the in-memory streaming strategy by which the request fails if the data exceeds the value
of the **MAX Buffer Size** field. Always run performance tests to find the optimal buffer size for
your specific use case.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Initial Buffer Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by <strong>Buffer Size Increment</strong>, with an upper limit of the <strong>In Memory Size</strong> value.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Size Increment</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Max Buffer Size</strong></p></td><td><div><div><p>Number</p></div></div></td><td><div><div><p>Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a <code>STREAM_MAXIMUM_SIZE_EXCEEDED</code> error. A value of less than or equal to <code>0</code> means no limit.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Buffer Unit</strong></p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>BYTE</p></li><li><p>KB</p></li><li><p>MB</p></li><li><p>GB</p></li></ul></div></div></td><td><div><div><p>Unit for the <strong>Initial Buffer Size</strong>, <strong>Buffer Size Increment</strong>, and <strong>Max Buffer Size</strong> fields.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Standard Revocation Check

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Only End Entities</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Only verify the last element of the certificate chain.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Prefer Crls</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Try CRL instead of OCSP first.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>No Failback</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Do not use the secondary checking method, which is the method not specified in the <strong>Prefer Crls</strong> field.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Soft Fail</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Avoid verification failure when the revocation server cannot be reached or is busy.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Success Status Code Validator

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Values</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Comma-separated list of status codes that indicate success.</p></div></div></td><td><div></div></td><td><div><div><p>x</p></div></div></td></tr></tbody></table>

### TLS

Configures TLS to provide secure communications for the Mule app.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Enabled Protocols</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Comma-separated list of protocols enabled for this context.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Enabled Cipher Suites</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Comma-separated list of cipher suites enabled for this context.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Trust Store</strong></p></td><td><div><div><p><a href="#TrustStore">Truststore</a></p></div></div></td><td><div><div><p>Configures the TLS truststore.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Key Store</strong></p></td><td><div><div><p><a href="#KeyStore">KeyStore</a></p></div></div></td><td><div><div><p>Configures the TLS keystore.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Revocation Check</strong></p></td><td><div><div><ul><li><p><a href="#crl-file">Crl File</a></p></li><li><p><a href="#custom-ocsp-responder">Custom Ocsp Responder</a></p></li><li><p><a href="#standard-revocation-check">Standard Revocation Check</a></p></li></ul></div></div></td><td><div><div><p>Configures a revocation checking mechanism.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

### Truststore

Configures the truststore for TLS.

<table><colgroup><col> <col> <col> <col> <col></colgroup><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Default Value</th><th>Required</th></tr></thead><tbody><tr><td><p><strong>Path</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Path to the truststore. Mule resolves the path relative to the current classpath and file system.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Password</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Password used to protect the truststore.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Type</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Type of truststore.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Algorithm</strong></p></td><td><div><div><p>String</p></div></div></td><td><div><div><p>Encryption algorithm used by the truststore.</p></div></div></td><td><div></div></td><td><div></div></td></tr><tr><td><p><strong>Insecure</strong></p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>If <code>true</code>, Mule stops performing certificate validations. Setting this field to <code>true</code> can make connections vulnerable to attacks.</p></div></div></td><td><div></div></td><td><div></div></td></tr></tbody></table>

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [AS2 Connector in Anypoint Exchange](https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule-as2-connector/)

- [Salesforce Help](https://help.salesforce.com)
