Create an OutboundFileHandler implementation

About this task

Create your implementation of OutboundFileHandler.

Procedure

  1. Extend the BaseOutboundFileHandler class.
  2. Implement the following methods.
    void open(String tempFilename, IntentionalLogger logger, Marker marker);
    void process(OutboundRecord record, IntentionalLogger logger, Marker marker) throws OutboundFileProcessingException; 
    Where:
    • tempFilename – Name of the outbound file where the records are written.
    • record – Outbound record.
    • loggerIntentionalLogger instance for logging events inside methods.
      Note: For more information about intentional logging, see System Administration Guide.
    • marker – Marker for logging in IntentionalLogger.
    • OutboundFileProcessingException – Exception thrown when there is an error during processing records.