---
schema_version: "1"
id: 9c5452b60aaf9595735eec3b7151a361701196dcd826ec6e13cce2cfa0294058
title: HL7 MLLP Connector Reference
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/hl7-mllp-connector/latest/hl7-mllp-connector-reference.md
canonical_url: https://docs.mulesoft.com/hl7-mllp-connector/latest/hl7-mllp-connector-reference
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 741f8576d0495db741cc5976f2519181235f52bc299a53307b2561c622578436
description: MuleSoft Documentation Site
release: "2.2"
latest: true
---
---
product: HL7 MLLP Connector
version: 2.2
is-latest-version: true
---

# HL7 MLLP Connector Reference

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

## MLLP Listener Configuration

<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>Name</p></td><td><p>String</p></td><td><p>Name for this configuration. Connectors reference the configuration with this name.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Connection</p></td><td><div><div><p><a href="#mllp-listener-config_mllp-listener">MLLP Listener</a></p></div></div></td><td><p>Connection types that can be provided to this configuration.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Expiration Policy</p></td><td><div><div><p><a href="#ExpirationPolicy">Expiration Policy</a></p></div></div></td><td><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 instance expires at the exact moment that it becomes eligible. Mule purges the instances when appropriate.</p></td><td></td><td></td></tr></tbody></table>

### MLLP Listener Connection Type

<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>Delimiter</p></td><td><div><div><p>String</p></div></div></td><td><p>Character code that separates MLLP messages. By default, MLLP uses <code>001C</code>.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>TLS Configuration</p></td><td><div><div><p><a href="#Tls">TLS</a></p></div></div></td><td><p>Uses SSLServerSocket instead of plain TCPServerSocket for accepting new SSL connections.</p></td><td></td><td></td></tr><tr><td><p>Port</p></td><td><div><div><p>Number</p></div></div></td><td><p>Connection’s port number.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Host</p></td><td><div><div><p>String</p></div></div></td><td><p>Connection’s host name.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Reconnection</p></td><td><div><div><p><a href="#Reconnection">Reconnection</a></p></div></div></td><td><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></td><td></td><td></td></tr><tr><td><p>Send Buffer Size</p></td><td><div><div><p>Number</p></div></div></td><td><p>Size of the buffer used when sending data, in bytes. This is set on the socket.</p></td><td></td><td></td></tr><tr><td><p>Receive Buffer Size</p></td><td><div><div><p>Number</p></div></div></td><td><p>Size of the buffer used when receiving data, in bytes. This is set on the socket.</p></td><td></td><td></td></tr><tr><td><p>Client Timeout</p></td><td><div><div><p>Number</p></div></div></td><td><p>SO_TIMEOUT value on the socket, which indicates the amount of time, in milliseconds, that the socket waits in a blocking operation before it fails. A value of <code>0</code> means that the socket waits indefinitely.</p></td><td><p>0</p></td><td></td></tr><tr><td><p>Reuse Address</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, SO_REUSEADDRESS is set on the socket before binding. This helps reduce <code>address already in use</code> errors when a socket is reused.</p></td><td><p>true</p></td><td></td></tr><tr><td><p>Send TCP With No Delay</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, transmitted data is sent immediately instead of collected together for greater efficiency. This value defaults to <code>true</code> even though the socket default is false because reducing the amount of network traffic over latency is not usually a concern today.</p></td><td><p>true</p></td><td></td></tr><tr><td><p>Linger</p></td><td><div><div><p>Number</p></div></div></td><td><p>SO_LINGER value, in milliseconds, which indicates how long the socket takes to close so that remaining data is transmitted correctly.</p></td><td></td><td></td></tr><tr><td><p>Keep Alive</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, enables SO_KEEPALIVE behavior on open sockets. This automatically checks socket connections that are open, but unused, for long periods and closes them if the connection becomes unavailable. This is set on the socket. It is used by a server socket to control whether connections to the server are kept alive before they are recycled.</p></td><td><p>false</p></td><td></td></tr><tr><td><p>Fail On Unresolved Host</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>Whether the socket fails during its creation if the host set on the endpoint can’t be resolved. Set this value to <code>false</code> to allow unresolved hosts (useful when connecting through a proxy).</p></td><td><p>true</p></td><td></td></tr><tr><td><p>Connection Count</p></td><td><p>Number</p></td><td><p>Number of connections accepted at one time. This value can be an integer or DataWeave expression. An empty value, negative value, or value of <code>0</code> indicates that the connector can accept an unlimited number of connections.</p></td><td></td><td></td></tr><tr><td><p>Server Timeout</p></td><td><div><div><p>Number</p></div></div></td><td><p>SO_TIMEOUT value when the socket is used as a server. This is the timeout that applies to the accept operation. A value of <code>0</code> (the ServerSocket default) causes the accept to wait indefinitely if no connection arrives.</p></td><td></td><td></td></tr><tr><td><p>Receive Backlog</p></td><td><div><div><p>Number</p></div></div></td><td><p>Maximum queue length for incoming connections.</p></td><td><p>50</p></td><td></td></tr></tbody></table>

## Request Configuration

Configuration for requester sockets.

<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>Name</p></td><td><p>String</p></td><td><p>Name for this configuration. Connectors reference the configuration with this name.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Connection</p></td><td><div><div><p><a href="#request-config_mllp-requester">MLLP Requester</a></p></div></div></td><td><p>Connection types that can be provided to this configuration.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Expiration Policy</p></td><td><div><div><p><a href="#ExpirationPolicy">Expiration Policy</a></p></div></div></td><td><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 instance expires at the exact moment that it becomes eligible. Mule purges the instances when appropriate.</p></td><td></td><td></td></tr></tbody></table>

### MLLP Requester Connection Type

<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>Local Address Settings</p></td><td><div><div><p><a href="#SocketConnectionSettings">Socket Connection Settings</a></p></div></div></td><td><p>Address that a socket should bind to.</p></td><td></td><td></td></tr><tr><td><p>TLS Configuration</p></td><td><div><div><p><a href="#Tls">TLS</a></p></div></div></td><td><p>Configuration for TLS, which can be used from both the client and server sides.</p></td><td></td><td></td></tr><tr><td><p>Port</p></td><td><div><div><p>Number</p></div></div></td><td><p>Connection’s port number.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Host</p></td><td><div><div><p>String</p></div></div></td><td><p>Connection’s host name.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Reconnection</p></td><td><div><div><p><a href="#Reconnection">Reconnection</a></p></div></div></td><td><p>Configures a reconnection strategy to use when a connector operation fails to connect to an external server.</p></td><td></td><td></td></tr><tr><td><p>Pooling Profile</p></td><td><div><div><p><a href="#PoolingProfile">Pooling Profile</a></p></div></div></td><td><p>Characteristics of the connection pool.</p></td><td></td><td></td></tr><tr><td><p>Send Buffer Size</p></td><td><div><div><p>Number</p></div></div></td><td><p>Size of the buffer used when sending data, in bytes. This is set on the socket.</p></td><td></td><td></td></tr><tr><td><p>Receive Buffer Size</p></td><td><div><div><p>Number</p></div></div></td><td><p>Size of the buffer used when receiving data, in bytes. This is set on the socket.</p></td><td></td><td></td></tr><tr><td><p>Client Timeout</p></td><td><div><div><p>Number</p></div></div></td><td><p>SO_TIMEOUT value on sockets. This indicates the amount of time, in milliseconds, that the socket waits in a blocking operation before failing. A value of <code>0</code> means waiting indefinitely.</p></td><td><p>0</p></td><td></td></tr><tr><td><p>Reuse Address</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, SO_REUSEADDRESS is set on the socket before binding. This helps reduce <code>address already in use</code> errors when a socket is reused.</p></td><td><p>true</p></td><td></td></tr><tr><td><p>Send TCP With No Delay</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, transmitted data is sent immediately instead of collected together for greater efficiency. This value defaults to <code>true</code> even though the socket default is false because reducing the amount of network traffic over latency is not usually a concern today.</p></td><td><p>true</p></td><td></td></tr><tr><td><p>Linger</p></td><td><div><div><p>Number</p></div></div></td><td><p>SO_LINGER value, which indicates how long, in milliseconds, the socket takes to close so that any remaining data is transmitted correctly.</p></td><td></td><td></td></tr><tr><td><p>Keep Alive</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, enables SO_KEEPALIVE behavior on open sockets. This automatically checks socket connections that are open, but unused, for long periods and closes them if the connection becomes unavailable. This is set on the socket and is used by a server socket to control whether connections to the server are kept alive before they are recycled.</p></td><td><p>false</p></td><td></td></tr><tr><td><p>Fail On Unresolved Host</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, the socket fails during its creation if the host set on the endpoint can’t be resolved. Set this value to <code>false</code> to allow unresolved hosts (useful when connecting through a proxy).</p></td><td><p>true</p></td><td></td></tr><tr><td><p>Connection Timeout</p></td><td><div><div><p>Number</p></div></div></td><td><p>Number of milliseconds to wait until an outbound connection to a remote server is successfully created. Defaults to 30 seconds.</p></td><td><p>30000</p></td><td></td></tr></tbody></table>

## Sources

- [MLLP Listener](#mllp-listener)

### MLLP Listener

`<mllp:mllp-listener>`

Listens for the socket connections of the given protocol in the configured host and port. When a new
connection is received, this source schedules a socket worker to handle the communication for that
connection.

<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>Configuration</p></td><td><p>String</p></td><td><p>Name of the configuration to use.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Output Mime Type</p></td><td><div><div><p>String</p></div></div></td><td><p>MIME type of the payload that this operation outputs.</p></td><td></td><td></td></tr><tr><td><p>Output Encoding</p></td><td><div><div><p>String</p></div></div></td><td><p>Encoding for the payload that this operation outputs.</p></td><td></td><td></td></tr><tr><td><p>Primary Node Only</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>Whether this source executes only on the primary node when running in a cluster.</p></td><td></td><td></td></tr><tr><td><p>Streaming Strategy</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><p>Configures how Mule processes streams. Repeatable streams are the default behavior.</p></td><td></td><td></td></tr><tr><td><p>Redelivery Policy</p></td><td><div><div><p><a href="#RedeliveryPolicy">Redelivery Policy</a></p></div></div></td><td><p>Configures the redelivery policy for executing requests that generate errors. You can add a redelivery policy to any source in a flow.</p></td><td></td><td></td></tr><tr><td><p>Reconnection Strategy</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><p>Reconnection strategy to use.</p></td><td></td><td></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="#ImmutableSocketAttributes">Immutable Socket Attributes</a></p></div></div></td></tr></tbody></table>

#### Associated Configurations

- [MLLP Listener Configuration](#mllp-listener-config)

## Operations

- [Send](#send)

### Send

`<mllp:send>`

Sends the data using the client associated with the MLLP Requester connection.

<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>Configuration</p></td><td><p>String</p></td><td><p>Name of the configuration to use.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Content</p></td><td><div><div><p>Binary</p></div></div></td><td><p>Data to serialize and send through the socket.</p></td><td><p><code>#[payload]</code></p></td><td></td></tr><tr><td><p>Reconnection Strategy</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><p>Reconnection strategy to use.</p></td><td></td><td></td></tr></tbody></table>

#### Associated Configurations

- [Request Configuration](#request-config)

#### Throws

- MLLP:CONNECTIVITY

- MLLP:LISTENING\_ERROR

- MLLP:RETRY\_EXHAUSTED

- MLLP:SECURITY

- MLLP:SENDING\_ERROR

- MLLP:UNKNOWN

## Object Types

- [CRL File](#crl-file)

- [Custom OCSP Responder](#custom-ocsp-responder)

- [Expiration Policy](#ExpirationPolicy)

- [Immutable Socket Attributes](#ImmutableSocketAttributes)

- [Keystore](#KeyStore)

- [Pooling Profile](#PoolingProfile)

- [Reconnect](#reconnect)

- [Reconnect Forever](#reconnect-forever)

- [Reconnection](#Reconnection)

- [Redelivery Policy](#RedeliveryPolicy)

- [Repeatable File Store Stream](#repeatable-file-store-stream)

- [Repeatable In Memory Stream](#repeatable-in-memory-stream)

- [Socket Connection Settings](#SocketConnectionSettings)

- [Standard Revocation Check](#standard-revocation-check)

- [TLS](#Tls)

- [Truststore](#TrustStore)

### 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>Path</p></td><td><div><div><p>String</p></div></div></td><td><p>Path to the CRL file.</p></td><td></td><td></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>Url</p></td><td><div><div><p>String</p></div></div></td><td><p>URL of the OCSP responder.</p></td><td></td><td></td></tr><tr><td><p>Cert Alias</p></td><td><div><div><p>String</p></div></div></td><td><p>Alias of the signing certificate for the OCSP response. If specified, the alias must be in the truststore.</p></td><td></td><td></td></tr></tbody></table>

### Expiration Policy

Configures an expiration policy strategy.

<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>Max Idle Time</p></td><td><div><div><p>Number</p></div></div></td><td><p>Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.</p></td><td></td><td></td></tr><tr><td><p>Time Unit</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><p>Time unit for the <strong>Max Idle Time</strong> field.</p></td><td></td><td></td></tr></tbody></table>

### Immutable Socket 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>Host Address</p></td><td><div><div><p>String</p></div></div></td><td><p>Address of the host where the requests are sent.</p></td><td></td><td></td></tr><tr><td><p>Host Name</p></td><td><div><div><p>String</p></div></div></td><td><p>Name of the host where the requests are sent.</p></td><td></td><td></td></tr><tr><td><p>Local Certificates</p></td><td><div><div><p>Array of Any</p></div></div></td><td><p>SSL local certificates. If the socket is not an SSL socket, this value is null.</p></td><td></td><td></td></tr><tr><td><p>Peer Certificates</p></td><td><div><div><p>Array of Any</p></div></div></td><td><p>SSL peer certificates. If the socket is not an SSL socket, this value is null.</p></td><td></td><td></td></tr><tr><td><p>Port</p></td><td><div><div><p>Number</p></div></div></td><td><p>Port to which the requests are sent.</p></td><td></td><td></td></tr></tbody></table>

### Keystore

Configures the keystore for the TLS protocol. The keystore you generate contains a private key and a
public certificate.

<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>Path</p></td><td><div><div><p>String</p></div></div></td><td><p>Path to the keystore. Mule resolves the path relative to the current classpath and file system.</p></td><td></td><td></td></tr><tr><td><p>Type</p></td><td><div><div><p>String</p></div></div></td><td><p>Type of keystore.</p></td><td></td><td></td></tr><tr><td><p>Alias</p></td><td><div><div><p>String</p></div></div></td><td><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></td><td></td><td></td></tr><tr><td><p>Key Password</p></td><td><div><div><p>String</p></div></div></td><td><p>Password used to protect the private key.</p></td><td></td><td></td></tr><tr><td><p>Password</p></td><td><div><div><p>String</p></div></div></td><td><p>Password used to protect the keystore.</p></td><td></td><td></td></tr><tr><td><p>Algorithm</p></td><td><div><div><p>String</p></div></div></td><td><p>Algorithm used by the keystore.</p></td><td></td><td></td></tr></tbody></table>

### Pooling Profile

Configures the pooling profile characteristics.

<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>Max Active</p></td><td><div><div><p>Number</p></div></div></td><td><p>Maximum number of Mule components that are active in a session at one time. When set to a negative value, there is no limit to the number of Mule components that are active at one time. When this value is exceeded, the pool is considered exhausted.</p></td><td></td><td></td></tr><tr><td><p>Max Idle</p></td><td><div><div><p>Number</p></div></div></td><td><p>Maximum number of Mule components that can sit idle in the pool at any time. When set to a negative value, there is no limit.</p></td><td></td><td></td></tr><tr><td><p>Max Wait</p></td><td><div><div><p>Number</p></div></div></td><td><p>Number of milliseconds to wait for a pooled component to become available when the pool is exhausted and the <strong>Exhausted Action</strong> is set to <code>WHEN_EXHAUSTED_WAIT</code>.</p></td><td></td><td></td></tr><tr><td><p>Min Eviction Millis</p></td><td><div><div><p>Number</p></div></div></td><td><p>Minimum amount of time that an object can sit idle in the pool before it’s eligible for eviction. When set to a negative value, no objects are evicted from the pool due to idle time alone.</p></td><td></td><td></td></tr><tr><td><p>Eviction Check Interval Millis</p></td><td><div><div><p>Number</p></div></div></td><td><p>Number of milliseconds between runs of the object evictor. When set to a negative value, no object evictor is executed.</p></td><td></td><td></td></tr><tr><td><p>Exhausted Action</p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>WHEN_EXHAUSTED_GROW</p></li><li><p>WHEN_EXHAUSTED_WAIT</p></li><li><p>WHEN_EXHAUSTED_FAIL</p></li></ul></div></div></td><td><div><div><p>Behavior of the Mule component pool when the pool is exhausted. Possible values are:</p></div><div><ul><li><p><code>WHEN_EXHAUSTED_FAIL</code></p><div><p>Throws a <code>NoSuchElementException</code>.</p></div></li><li><p><code>WHEN_EXHAUSTED_WAIT</code></p><div><p>Blocks by invoking <code>Object.wait(long)</code> until a new or idle object is available.<br></p></div></li><li><p><code>WHEN_EXHAUSTED_GROW</code></p><div><p>Creates a new Mule instance and returns it, which makes the <strong>Max Active</strong> value ineffective.</p></div><div><p>If <strong>Max Wait</strong> is positive, Mule blocks for at most that many milliseconds, after which it throws a <code>NoSuchElementException</code>. If <strong>Max Wait</strong> is a negative, Mule blocks indefinitely.</p></div></li></ul></div></div></td><td></td><td></td></tr><tr><td><p>Initialization Policy</p></td><td><div><div><p>Enumeration, one of:</p></div><div><ul><li><p>INITIALISE_NONE</p></li><li><p>INITIALISE_ONE</p></li><li><p>INITIALISE_ALL</p></li></ul></div></div></td><td><div><div><p>Determines how components in a pool should be initialized. Possible values are:</p></div><div><ul><li><p>INITIALISE_NONE</p><div><p>Doesn’t load any components into the pool on startup.</p></div></li><li><p>INITIALISE_ONE</p><div><p>Loads one initial component into the pool on startup.</p></div></li><li><p>INITIALISE_ALL</p><div><p>Loads all components into the pool on startup.</p></div></li></ul></div></div></td><td></td><td></td></tr><tr><td><p>Disabled</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, pooling is disabled.</p></td><td></td><td></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>Frequency</p></td><td><div><div><p>Number</p></div></div></td><td><p>How often to reconnect, in milliseconds.</p></td><td></td><td></td></tr><tr><td><p>Blocking</p></td><td><p>Boolean</p></td><td><p>If <code>false</code>, the reconnection strategy runs in a separate, non-blocking thread.</p></td><td></td><td></td></tr><tr><td><p>Count</p></td><td><div><div><p>Number</p></div></div></td><td><p>How many reconnection attempts to make.</p></td><td></td><td></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>Frequency</p></td><td><div><div><p>Number</p></div></div></td><td><p>How often to reconnect, in milliseconds.</p></td><td></td><td></td></tr><tr><td><p>Blocking</p></td><td><p>Boolean</p></td><td><p>If <code>false</code>, the reconnection strategy runs in a separate, non-blocking thread.</p></td><td></td><td></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>Fails Deployment</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><code>true</code></p><div><p>Allow the deployment to fail.</p></div></li><li><p><code>false</code></p><div><p>Ignore the results of the connectivity test.</p></div></li></ul></div></div></td><td></td><td></td></tr><tr><td><p>Reconnection Strategy</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><p>Reconnection strategy to use.</p></td><td></td><td></td></tr></tbody></table>

### Redelivery Policy

Configures the redelivery policy for executing requests that generate errors. You can add a
redelivery policy to any source in a flow.

<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>Max Redelivery Count</p></td><td><div><div><p>Number</p></div></div></td><td><p>Maximum number of times that a redelivered request can be processed unsuccessfully before returning a <code>REDELIVERY_EXHAUSTED</code> error.</p></td><td></td><td></td></tr><tr><td><p>Use Secure Hash</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, Mule uses a secure hash algorithm to identify a redelivered message.</p></td><td></td><td></td></tr><tr><td><p>Message Digest Algorithm</p></td><td><div><div><p>String</p></div></div></td><td><p>Secure hashing algorithm to use if the <strong>Use Secure Hash</strong> field is <code>true</code>. If the payload of the message is a Java object, Mule ignores this value and returns the value that the payload’s <code>hashCode()</code> returned.</p></td><td></td><td></td></tr><tr><td><p>Id Expression</p></td><td><div><div><p>String</p></div></div></td><td><p>One or more expressions that determine when a message was redelivered. This field can be set only if the <strong>Use Secure Hash</strong> field is <code>false</code>.</p></td><td></td><td></td></tr><tr><td><p>Object Store</p></td><td><div><div><p>ObjectStore</p></div></div></td><td><p>Configures the object store that stores the redelivery counter for each message.</p></td><td></td><td></td></tr></tbody></table>

### Repeatable File Store Stream

Configures the repeatable file-store streaming strategy by which Mule runtime keeps a portion of the
stream content in memory. If the stream content is larger than the configured buffer size, Mule
backs up the buffer’s content to disk and then clears the memory.

<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>Max In Memory Size</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. This increases performance, but it also limits the number of concurrent requests your application can process, because it requires additional memory.</p></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></td><td></td></tr><tr><td><p>Buffer Unit</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><p>Unit for the <strong>Max In Memory Size</strong> field.</p></td><td></td><td></td></tr></tbody></table>

### Repeatable In Memory Stream

Configures the in-memory streaming strategy by which the request fails if the data exceeds the
maximum buffer size. 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>Initial Buffer Size</p></td><td><div><div><p>Number</p></div></div></td><td><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>Max In Memory Size</strong> value.</p></td><td></td><td></td></tr><tr><td><p>Buffer Size Increment</p></td><td><div><div><p>Number</p></div></div></td><td><p>Amount by which the buffer size expands if it exceeds its initial size. Setting a value of <code>0</code> or lower specifies that the buffer can’t expand.</p></td><td></td><td></td></tr><tr><td><p>Max Buffer Size</p></td><td><div><div><p>Number</p></div></div></td><td><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></td><td></td><td></td></tr><tr><td><p>Buffer Unit</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><p>Unit for the <strong>Initial Buffer Size</strong>, <strong>Buffer Size Increment</strong>, and <strong>Max Buffer Size</strong> fields.</p></td><td></td><td></td></tr></tbody></table>

### Socket Connection Settings

<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>Port</p></td><td><div><div><p>Number</p></div></div></td><td><p>Connection’s port number.</p></td><td></td><td><p>x</p></td></tr><tr><td><p>Host</p></td><td><div><div><p>String</p></div></div></td><td><p>Connection’s host name.</p></td><td></td><td><p>x</p></td></tr></tbody></table>

### Standard Revocation Check

Configures standard revocation checks for TLS certificates.

<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>Only End Entities</p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Which elements to verify in the certificate chain:</p></div><div><ul><li><p><code>true</code></p><div><p>Verify only the last element in the certificate chain.</p></div></li><li><p><code>false</code></p><div><p>Verify all elements in the certificate chain.</p></div></li></ul></div></div></td><td></td><td></td></tr><tr><td><p>Prefer Crls</p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>How to check certificate validity:</p></div><div><ul><li><p><code>true</code></p><div><p>Check the Certification Revocation List (CRL) for certificate validity.</p></div></li><li><p><code>false</code></p><div><p>Use the Online Certificate Status Protocol (OCSP) to check certificate validity.</p></div></li></ul></div></div></td><td></td><td></td></tr><tr><td><p>No Fallback</p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>Whether to use the secondary method to check certificate validity:</p></div><div><ul><li><p><code>true</code></p><div><p>Use the method that wasn’t specified in the <strong>Prefer Crls</strong> field (the secondary method) to check certificate validity.</p></div></li><li><p><code>false</code></p><div><p>Do not use the secondary method to check certificate validity.</p></div></li></ul></div></div></td><td></td><td></td></tr><tr><td><p>Soft Fail</p></td><td><div><div><p>Boolean</p></div></div></td><td><div><div><p>What to do if the revocation server can’t be reached or is busy:</p></div><div><ul><li><p><code>true</code></p><div><p>Avoid verification failure.</p></div></li><li><p><code>false</code></p><div><p>Allow the verification to fail.</p></div></li></ul></div></div></td><td></td><td></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>Enabled Protocols</p></td><td><div><div><p>String</p></div></div></td><td><p>Comma-separated list of protocols enabled for this context.</p></td><td></td><td></td></tr><tr><td><p>Enabled Cipher Suites</p></td><td><div><div><p>String</p></div></div></td><td><p>Comma-separated list of cipher suites enabled for this context.</p></td><td></td><td></td></tr><tr><td><p>Trust Store</p></td><td><div><div><p><a href="#TrustStore">Truststore</a></p></div></div></td><td><p>Configures the TLS truststore.</p></td><td></td><td></td></tr><tr><td><p>Key Store</p></td><td><div><div><p><a href="#KeyStore">Keystore</a></p></div></div></td><td><p>Configures the TLS keystore.</p></td><td></td><td></td></tr><tr><td><p>Revocation Check</p></td><td><div><div><ul><li><p><a href="#standard-revocation-check">Standard Revocation Check</a></p></li><li><p><a href="#custom-ocsp-responder">Custom OCSP Responder</a></p></li><li><p><a href="#crl-file">CRL File</a></p></li></ul></div></div></td><td><p>Configures a revocation checking mechanism.</p></td><td></td><td></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>Path</p></td><td><div><div><p>String</p></div></div></td><td><p>Path to the truststore. Mule resolves the path relative to the current classpath and file system.</p></td><td></td><td></td></tr><tr><td><p>Password</p></td><td><div><div><p>String</p></div></div></td><td><p>Password used to protect the truststore.</p></td><td></td><td></td></tr><tr><td><p>Type</p></td><td><div><div><p>String</p></div></div></td><td><p>Type of truststore.</p></td><td></td><td></td></tr><tr><td><p>Algorithm</p></td><td><div><div><p>String</p></div></div></td><td><p>Encryption algorithm that the truststore uses.</p></td><td></td><td></td></tr><tr><td><p>Insecure</p></td><td><div><div><p>Boolean</p></div></div></td><td><p>If <code>true</code>, Mule stops performing certificate validations. Setting this to <code>true</code> can make connections vulnerable to attacks.</p></td><td></td><td></td></tr></tbody></table>

## See Also

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

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