Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

MC2 EJM has a number of build-in tasks for frequently used purposes. There are packer, unpacker and distribution tasks. Currently supported archive file types are: N, ZIP, TAR and TARGZ.

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.

Supported Inbound Parameters:

Compress – archive format.

 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.

Supported Inbound Parameters:

archiveType – archive format.

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.

  • No labels