The FileOutput Node is used to write messages to the broker's file system. You can use the FileOutput Node to create
a new file from a single message or to replace an existing file's contents with a message. You can
also use it to append records to an existing file. The records can be created directly from messages, and can
be padded to a fixed length, or separated from other records by a delimiter character.
The FileOutput node can be used to perform the following tasks:
This sample demonstrates how a FileOutput node can be used to output a message to a file part
way through a message flow. The sample is based on a scenario where item and price details from
a sales invoice are sent via a SOAP message over HTTP and are updated and written to a file, before
being sent back over HTTP.
This sample uses one message flow and covers the following:
The following message flow, FileOutputNodeSampleFlow, is imported by the
sample: