Create an OutboundFileHandler implementation
About this task
Procedure
- Extend the BaseOutboundFileHandler class.
-
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.
- logger – IntentionalLogger 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.
