The chapter
System Definitions explains the single
keys in detail.
Entries for the Source Interface
Chapter |
Section |
Key |
Value |
System |
source interface name |
Type |
Object |
System |
source interface name |
Message |
ByteArrayListMessage |
System |
source interface name |
Filename |
input data file path |
System |
source interface name |
FinalResolution |
action on the input file after successful transfer |
System |
source interface name |
OnError |
action on the input file in case of an error |
System |
source interface name |
Encoding |
string encoding on the source system - only necessary if
the system does not report the (correct) encoding |
System |
source interface name |
RecordLineLength |
only necessary if records are to be identified by
counting bytes instead of reading until line breaks |
System |
source interface name |
AS400 |
name of the AS400 machine if it is the source system |
Journal |
Write |
source interface name.Receive |
true or false |
System |
source interface name |
DescriptionFile |
name of the source structure description XML file without path |
The last key is the only particular to interfaces with byte array data transfer without transformation
(and
record transformation).
It tells the system where to find the description of
the source interface data
structure. This structure description is essential for parsing. All XML interface descriptions
are stored in the directory etc/InterfaceDescriptions
within the xBus
home directory. Information about its structure are listed in the section
XML interface file descriptions.
Indeed this parameter also applies to the destination interface. On that side it is used for
serializing the internal DOM tree. This is done by inserting all serializing-relevant
information into the internal DOM tree.
The entries for the data transfer type have to be "ByteArrayListMessage" and "Object".
Internally
the interface content is stored in a DOM tree instead of a string.
All other listed entries are treated just like for all interfacing techniques.
Entries for the Destination Interface
Chapter |
Section |
Key |
Value |
System |
destination interface name |
Type |
Object |
System |
destination interface name |
Message |
ByteArrayListMessage |
System |
destination interface name |
Sender |
the sender class to use |
System |
destination interface name |
Filename |
output data file path |
System |
destination interface name |
ConflictResolution |
action on already existing file |
System |
destination interface name |
Encoding |
string encoding on the source system - only necessary if
the system does not report the (correct) encoding |
System |
destination interface name |
AS400 |
name of the AS400 machine if it is the destination system |
Journal |
Write |
destination interface name.Send |
true or false |
Most configuration entries are just like for the source interface - only describing
destination features. The only new is the sender key. It specifies which method to use for
writing to the destination system. The specified sender must be able to treat byte array l
ists.
(For information on the different senders, please refer to the chapter
Technical Layer.)
The structure information necessary for serializing is incorporated in the internally used
DOM tree. Thus, no description file is needed for sending..
Entries for the Routing
Chapter |
Section |
Key |
Value |
Router |
source interface name.function |
Distributen |
destination interface name |
ByteArrayListMessages.
do not return a response. They can only be used with
distribute
routing. Multiple destinations are possible.
Entries for the XML Parser
Chapter |
Section |
Key |
Value |
ParserSettings |
RecordTypeMessage |
IgnoringComments |
true |
ParserSettings |
RecordTypeMessage |
IgnoringElementContentWhitespace |
true |
ParserSettings |
RecordTypeMessage |
XMLValidating |
false |
The parser settings determine how the interface description documents are parsed. The first
two parameters have to be "true" because the ByteArrayListMessage parsing function
are not capable of treating DOM tree nodes without substantial content, i.e. comment nodes
and text nodes with formating whitespace sequences. The last parameter should be set to
"false" to avoid checking the interface descriptions again and again. Activating the checks
is interesting during developing new interface descriptions in XML. See also
Configuration of parser options.