6.1.2. Output File Release Handler

This handler closes the output file opened by business action or handler (release resources).

Important

The release target for this handler is the output file opened using FileRecordWriterHolder. Close the resources opened using other APIs (for example: java.io package) individually.

The process flow is as follows.

../../../../_images/flow2.png

6.1.2.2. Module list

<!-- General data format -->
<dependency>
  <groupId>com.nablarch.framework</groupId>
  <artifactId>nablarch-core-dataformat</artifactId>
</dependency>

6.1.2.4. Configuration to the handler queue

This handler automatically closes the output file opened by the subsequent handlers and business actions just by configuring it on the handler queue. Therefore, this handler must be configured before all the handlers that perform file output.