-
Notifications
You must be signed in to change notification settings - Fork 82
xml reader
Icon |
|
---|---|
Use When |
An XML file needs to be read and element content of that file sent as individual messages |
Samples |
|
Description |
The XML Reader component allows XML data to be read from a file and data within tags to be sent as individual messages |
Inbound Message Type |
Text Based Message |
Output Message Type |
Text Based Message |
Control Message Handling |
Input: When a control message is received and 'Run When' is 'PER UNIT OF WORK' start the processing of this component or when any message other than a control is received and 'Run When' is 'PER MESSAGE'. Output: A single control message will be forwarded to downstream components once all files have been processed through this step. |
Name | Description |
---|---|
Resource |
The file based resource (either local or remote) on which the file to be read resides. |
Whether to forward failed messages and continue processing. This is the name of a linked component to forward the failed messages to. |
|
Get File Name From Message |
If selected, the path and file name to be read will be determined by the payload of the incoming message. This option is used frequently with the File Poller component. If this setting is not selected, the path and file to be read is based on the File Path property below. |
File Path |
The relative path and file name for the file to read unless relative path and file name come from the inbound message |
Tag to find and send, defaults to root |
The tag that encloses data to be sent as individual messages |
Number of read tags to send together |
The number of instances of tags from above to be packed into a single message before sending the message |