Customizing the transmission acknowledgment task

To customize the transmission acknowledgment task, create a new task that overrides some of the customization functions of the existing task.

To create a new transmission acknowledgment task, extend the com.ibm.fxh.izx.transmission.ack.task.TransmissionAckTask Java™ class. Implement the new task, overriding any methods that are needed, and then compile and build it. Copy the JAR file for the new task to the shared library directory for Services Framework. The new task can then be registered, configured, and scheduled.

The SampleTransmissionAckTask.java file is an example that shows how to customize the transmission acknowledgment task.

The following task methods can be overridden.
String getTaskName()
Returns a text name for this task. The task name is displayed on the user interface and used in the logs.
String modifyFileName(String ackFileName)
Override this method to customize the file name for the acknowledgment. The original file name is received as a parameter. The method returns the file name to use for the acknowledgment.
String modifyAcknowledgmentFileName(String ackFileName)
This method has the same function as modifyFileName. Use either one to customize the file name for the acknowledgment.
The following methods cannot be overridden, but can be called by the task.
ECOConnection getEcoConnection()
Returns the current electronic connection. Information from the connection can be used to customize the file name for the acknowledgment.
String getConnectionChannel()
Returns the name of the connection channel. The channel name can be used to customize the file name for the acknowledgment.
PresentmentGroup getPresentmentGroup()
Returns the current transmission. Information from the transmission can be used to customize the file name for the acknowledgment.
FileInfo getFileInfo()
Returns the current file. Information from the file can be used to customize the file name for the acknowledgment.
Refer to the Javadoc information for more information about these methods.
The following JAR files are needed to compile this task.
  • PartnerProfile_Utilities.jar
  • payment_accessors.jar - this file is needed only when the task uses an electronic connection function.
  • util.jar
  • TransmissionAcknowledgment.jar
  • iybservicesapi.jar