MC2 EJM has a number of build-in tasks for frequently used purposes. There are packer, unpacker and distribution tasks.
Packer task.
Name: eagle_ml-2-0_default_cm_packer
Include name: eagle_ml-2-0_cm\mc2\ejm\workflow\mc2_pack.inc
The task is used to pack files into archive.
Current version of EJM supports ZIP format only.
Supported Inbound Parameters:
Compress – archive format. ZIP and N values are supported.
Unpacker task.
Include name: eagle_ml-2-0_cm\mc2\ejm\workflow\mc2_unpack.inc
The task is used to unpack files from archive or just get list of files in the archive.
Current version of EJM supports ZIP format only.
Supported Inbound Parameters:
archiveType – archive format. ZIP value is supported.
Supported Outgoing Parameters:
TASK_[unpacker task name]_DataFlowFiles – the list of archive files, usually used in conditionToExecute to skip task execution if archive doesn’t contain the right file.
E.g. unpacker task name= generic_load_unpacker,
conditionToExecute= iif(StringLength(:param_TASK_generic_load_unpacker_DataFlowFiles:)=0,0,iif(find(:param_TASK_generic_load_unpacker_DataFlowFiles:, '_ISSUERORGANIZATION_') = -1 ,0,1))
Distribution task.
Name: eagle_ml-2-0_default_cm_file_distribution
Include name: eagle_ml-2-0_cm\mc2\ejm\workflow\mc2_files_distribution.inc
The task is used to distribute result files using file system,JMS,HTTP,FTP etc.
Current version supports file system and JMS only.
Supported Inbound Parameters:
ExtractDeliveryMethod -Possible values are FILE,JMS, Default value is FILE.
CustomExtractLocation – full path to custom folder where result files should be placed, used with DeliveryMethod=FILE only. Default extract files location is cmw/extracts folder on application server.
JMSDeliveryStream or JMSExtractDeliveryStream – the JMS stream name, used with DeliveryMethod=JMS only.
JMSDeliveryURI – any valid jms connection string. not fully supported in current MC2 version, used with DeliveryMethod=JMS only.