Default Configuration
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Name |
String |
ID used to reference this configuration. |
x |
|
Expiration Policy |
ExpirationPolicy |
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. |
||
Mule interchange ID |
String |
Identification for the Mule app in the exchange (UNB segment). This value is used in combination with the value of the Mule ID qualifier field, and if one field is set, the other must also be set.
|
||
Mule ID qualifier |
String |
Identification qualifier for the Mule app in the exchange (UNB segment). This value is used in combination with the value of the Mule interchange ID field, and if one field is set, the other must also be set.
|
1 |
|
Mule application sender/recipient ID |
String |
Identification for the Mule app in the exchange (UNG segment). This value is used in combination with the value of the Mule application sender/recipient ID qualifier field, and if one field is set, the other must also be set.
|
||
Mule application sender/recipient ID qualifier |
String |
Identification qualifier for the Mule app in the exchange (UNG segment). This value is used in combination with the value of the Mule application sender/recipient ID field, and if one field is set, the other must also be set.
|
||
Partner interchange ID |
String |
Identification for the partner in the exchange (UNB segment). This value is used in combination with the value of the Partner ID qualifier field, and if one field is set, the other must also be set.
|
||
Partner ID qualifier |
String |
Identification qualifier for the partner in the exchange (UNB segment). This value is used in combination with the value of the Partner Interchange ID field, and if one field is set, the other must also be set.
|
||
Partner application sender/recipient ID |
String |
Identification for the partner in the exchange (UNG segment). This value is used in combination with the value of the Partner application sender/recipient ID qualifier field, and if one field is set, the other must also be set.
|
||
Partner application sender/recipient ID qualifier |
String |
Identification qualifier for the partner in the exchange (UNG segment). This value is used in combination with the value of the Partner application sender/recipient ID field, and if one field is set, the other must also be set.
|
||
Schema definitions |
Array of String |
List of schema file system paths or class paths for the module to use. |
x |
|
Substitution character |
String |
Substitution character used to replace invalid characters in string values when using syntax level |
||
Separators usage |
Enumeration, one of:
|
Defines how specified separator and release characters are used:
|
USE_SPECIFIED_FOR_ALL |
|
Data element separator |
String |
Default data element separator character. |
+ |
|
Component element separator |
String |
Component element separator character. |
: |
|
Repetition separator |
String |
Repetition separator character. |
* |
|
Segment terminator |
String |
Segment terminator character. |
' |
|
Release character |
String |
Release character. |
? |
|
Timezone offset |
String |
Time zone offset from the UTC to apply to the date and time elements in the Interchange Header (UNB) segment. This field accepts only values compliant with ISO 8601 (which are UTC-based), for example, |
||
Enforce length limits |
Boolean |
Enforce minimum and maximum lengths for receive values:
In either case, the error is logged and reported in CONTRL functional acknowledgments. |
true |
|
Enforce value repeats |
Boolean |
Enforce repetition count limits for receive values:
In either case, the error is reported in CONTRL functional acknowledgments. |
true |
|
Enforce valid characters |
Boolean |
Enforce valid characters when using syntax levels UNOA and UNOB:
|
true |
|
Allow unknown segments |
Boolean |
Allow unknown segments in a message:
In either case, the error is reported in CONTRL functional acknowledgments. |
false |
|
Enforce segment order |
Boolean |
Enforce segment order in a message:
In either case, the error is reported in CONTRL functional acknowledgments. |
true |
|
Allow unused segments |
Boolean |
Allow segments marked as
|
true |
|
Enforce segment repeats |
Boolean |
Enforce segment repetition count limits in a message:
In either case, the error is reported in CONTRL functional acknowledgments. |
true |
|
Character encoding override |
String |
Character encoding override for receive messages, which must be a Java character encoding name. Normally, character encoding is determined by the syntax identifier in the UNB header segment, but the connector uses this value instead, if it is set. |
||
Require unique interchanges |
Boolean |
Reject an interchange if the Interchange Control Reference has previously been processed:
|
false |
|
Require unique groups |
Boolean |
Reject a group if the group control reference was processed previously:
|
false |
|
Require unique messages |
Boolean |
Enforce globally unique Message Reference Numbers (UNH.1) for received messages:
|
false |
|
Store time-to-live |
Number |
Minimum number of days to store interchange and message numbers in the default persistent object store. This value is used only when the configuration requires unique interchanges, message numbers, or both. It sets the entry time-to-live for these stored values. |
30 |
|
Write character encoding |
Enumeration, one of:
|
Character encoding used for writing messages. |
ASCII_B |
|
Syntax version |
Enumeration, one of:
|
Syntax version for send messages. This version determines the data structures used for service segments and CONTRL acknowledgment message structures in DataSense metadata for both send and receive messages. The actual message data for receive messages reflects the syntax version used in the received interchange. |
VERSION4 |
|
Segment line ending |
Enumeration, one of:
|
Line ending to add between segments. This can improve the readability of the output message text. |
NONE |
|
Always send UNA |
Boolean |
|
false |
|
Enforce valid characters |
Boolean |
Enforce valid characters when using syntax levels UNOA and UNOB.
|
true |
|
Use Functional Groups |
Boolean |
Group messages with the same functional group identifier inside UNG-UNE envelopes:
|
false |
|
Unique group numbers |
Boolean |
Send unique message reference numbers (UNG.5):
|
false |
|
Unique message numbers |
Boolean |
Send unique Message Reference Numbers (UNH.1):
|
false |
|
Initial group reference |
String |
The initial group control reference used for outgoing messages. |
1 |
|
Initial interchange reference |
String |
The initial interchange control reference used for outgoing messages. |
1 |
|
Initial message reference |
String |
The initial message reference number used for outgoing messages. |
1 |
|
Request acknowledgments |
Boolean |
Requests acknowledgments for Send interchanges using the Acknowledgment Request field (UNB.9):
|
false |
|
Test indicator |
String |
Test indicator digit to use on Send interchanges. By default, interchanges are not sent as tests. |
||
Use Supplied Values |
Boolean |
Whether to generate control numbers when writing or use supplied values for control-segment information such as control numbers:
|
false |
|
Interchange control number key |
String |
Key-value pair of the interchange control key and interchange control number. |
NONE |
|
Message control number key |
String |
Key-value pair of the message control key and message control number. |
NONE |
|
Group control number key |
String |
Key-value pair of the group control key and group control number. |
NONE |
|
Truncate values exceeding the length limits |
Boolean |
Whether to truncate values that exceed the length limits:
|
false |
|
Enforce code set validations |
Boolean |
Whether to enforce code set validations:
|
false |
|
Use Version Association Code |
Boolean |
Whether to use UNH0205 (Version Association Code):
|
false |
|
Use segment line ending in the last line |
Boolean |
Whether to use segment line ending characters in the last line of the segment:
|
false |
|
Lock Mechanism |
Enumeration, one of:
|
Determines the mechanism used to manage locks for control number sequencing. Valid values are:
|
AUTO |
|
Acknowledge every transaction |
Boolean |
Whether to include the UCM Segment in the acknowledgement of every transaction:
|
false |
|
Send UNA segment |
Enumeration, one of:
|
Determines whether the generated EDIFACT interchange begins with a UNA segment. This configuration behavior is dependent on the Always send UNA configuration. Valid values are:
|
DEPEND_ON_SEPARATORS |
Operations
Read
<edifact:read>
Transforms an input stream of EDI text into maps and lists the structure of EDI data.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Read Content |
Binary |
Input payload. |
|
|
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
Expression that evaluates the operation’s output. The expression outcome is stored in the Target Variable field. |
|
Write
<edifact:write>
Transforms the maps and lists the structure of EDI data in the EDI text stream.
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
The name of the configuration to use. |
x |
|
Write Content |
Object |
Input payload. |
|
|
Streaming Strategy |
Enumeration, one of:
|
Configures how Mule processes streams. |
Repeatable file store stream |
|
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field. |
|
Write batch
<edifact:write-batch>
Merges individual EDIFACT messages created and accumulated over a period of time into a single interchange (UNB).
Parameters
| Name | Type | Description | Default Value | Required |
|---|---|---|---|---|
Configuration |
String |
Name of the configuration to use. |
x |
|
Batch Content |
Binary |
Input payload. |
|
|
Target Variable |
String |
Name of the variable that stores the operation’s output. |
||
Target Value |
String |
Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field. |
|
Types
Expiration Policy
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Max Idle Time |
Number |
Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. |
||
Time Unit |
Enumeration, one of:
|
A time unit that qualifies the Max Idle Time field. |
Repeatable in memory stream
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Initial Buffer Size |
Number |
Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by Buffer Size Increment, with an upper limit of the Max In Memory Size value. |
||
Buffer Size Increment |
Number |
Amount by which the buffer size expands if it exceeds its initial size. Setting a value of |
||
Max Buffer Size |
Number |
Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a |
||
Buffer Unit |
Enumeration, one of:
|
The unit in which the fields in this table are expressed. |
Repeatable file store stream
| Field | Type | Description | Default Value | Required |
|---|---|---|---|---|
Max In Memory Size |
Number |
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:
|
||
Buffer Unit |
Enumeration, one of:
|
Unit for the Max In Memory Size field. |