How to: |
This section describes how to configure the Data Provider and the EDI Activity Log.
To configure the Data Provider:
The Data Provider pane opens, as shown in the following image.
The configuration pane for the Data Provider handler opens, as shown in the following image.
Tip: In the image, the Initial Pool Size, Maximum Number of Idle Connections, and Maximum Number of Connections are set to 1. See your database administrator to determine the optimum connection pool properties for your site.
To configure the EDI Activity Log:
The table that is provided lists the configured Activity Facility handlers. Initially, no handlers are shown.
edilogger
Parameter Name |
Type |
Description |
---|---|---|
Table |
String |
Table name for the activity log. This must be a valid identifier in the database being used. If the table does not exist at startup, it will be created automatically. |
Compression |
Drop-down list |
Specify whether the messages are to be compressed. Values include:
|
Start Events |
Boolean Drop-down list |
If set to true (default), the input messages will be recorded in the activity log. This values must be set to true for use of the audit reports in the console. |
Internal Events |
Boolean Drop-down list |
If set to true, system events are included in the activity log. System events include activities such as parsing and transformations (optional). False is selected by default. |
Security Events |
Boolean Drop-down list |
If set to true (default), security events are recorded. This includes digital signature, and so on. However, console activity is not recorded. |
Business Error Events |
Boolean Drop-down list |
If set to true, business errors are recorded, such as rules system violations. False is selected by default. |
Emit Events |
Boolean Drop-down list |
If set to true (default), output messages from emitter services will be recorded. This is required for use of the audit log reports in the console. |
End Events |
Boolean Drop-down list |
If set to true (default), the end of message processing will be recorded in the activity log. This is required for use of the audit log reports in the console. |
Notes Table |
String |
Table name for the notes table, which contains log annotations. If the table does not exist at startup, it will be created automatically. |
MAC Algorithm |
String Drop-down list |
The Message Authentication Code (MAC) algorithm. None (default) indicates a MAC should not be computed. |
MAC Provider |
String Drop-down list |
The Message Authentication Code (MAC) provider. Not Specified indicates the default provider should be used. The remaining available value is SunJCE. |
MAC Secret Key |
String |
The Message Authentication Code (MAC) secret key to use. |
If necessary, start the database services.
The EDI Activity Driver inserts records into the configured activity database. The records are designed for fast writing rather than for ease of later analysis. A set of inquiry service agents suitable for use in a process flow is available to assist during the analysis of the log. Users are cautioned that iWay does not guarantee the layout of the record from release to release, and this should be checked against the actual schema.
Database Field |
Description |
---|---|
recordkey |
Unique record identifier. |
recordtype |
Type of this record - the event being recorded.
|
signature |
Encoding of the listener name and protocol. |
protocol |
Name of the protocol. |
address |
Address to which an emit is to be issued. The format depends on the protocol. |
tstamp |
Timestamp of record. |
correlid |
UNB05 |
tid |
Transaction ID assigned to this message. |
msg |
Message appropriate to this record type. For example, an input message contains the original message received, if possible. Streaming input does not contain a record. |
context |
Serialized special registers that were in the context at the time the record was written. |
text |
Message text for business errors (rules system violations). |
status |
Status code recorded.
|
subtype |
Event code for event records.
|
partner_to |
UNB03 |
partner_from |
UNB02 |
encoding |
Encoding of the listener that obtained the document. |
mac |
Not used in this version. |
Driver version |
1.0 in 5.5.SM |
iWay Software |