The document describes the three phases of a batch component in Mule: input, process records, and on complete. The input phase prepares a collection object with the input message. The process records phase processes each record in the collection individually and in parallel. The on complete phase provides status information about the number of successful, failed, and total records. An example is also provided that uses a batch component to transform a CSV file to XML using data mapping and writes the output to a file.