The FixedFileReceiver writes Domain Attribute values in a fixed format to a file.  The order of the columns and the fixed length of each column is defined within an XML configuration file.


The FixedFileReceiver requires that the following parameters are defined:

  • outputPath - Defines the location to store the newly generated fixed output file.
  • outputFileName - Defines the name of the output file.
  • fixedDefPath - Defines the location of the XML configuration file.
  • fixedDefFileName - Defines the name of the XML configuration file.

Receiver Attribute Property Keys

The Receiver defines two property keys that can be modified on any of its associated Domain Attributes:

  • columnName - Defines the column name as it will be output in the delimited file header.
  • include - Determines if the Attribute will be included as a column in the output.

Example Domain

The example output is based on following Domain defined below: 

Example Configuration File

The following is an example configuration file showing the XML format that defines the fixed column for a User Domain containing five columns.  The name of each column must match the name of each Domain Attribute name:

        <fieldDefinition name="id" length="5"/>
        <fieldDefinition name="firstName" length="15"/>
        <fieldDefinition name="lastName" length="20"/>
        <fieldDefinition name="emailAddress" length="35"/>
        <fieldDefinition name="username" length="25"/>
        <fieldDefinition name="password" length="255"/>

Example Fixed Format File Output

The following is an example output of User Domain generated data and fixed file formatted output from the configuration file defined above:

1    Tabitha        Knuth                       User1                    C4CA4238A0B923820DCC509A6F75849B                                                                                                                                                                                                                               
2    Viviana        Daigle                      User2                    C81E728D9D4C2F636F067F89CC14862C                                                                                                                                                                                                                               
3    Susana         Varner                      User3                    ECCBC87E4B5CE2FE28308FD9F2A7BAF3                                                                                                                                                                                                                               
4    Joelle         Padron                      User4                    A87FF679A2F3E71D9181A67B7542122C                                                                                                                                                                                                                               
5    Detra          Ambriz                      User5                    E4DA3B7FBBCE2345D7772B0674A318D5