Running Batch Executables

To launch the batch executables on a machine the following command can be used:

ant -f app_batchlauncher.xml -Dbatch.username=superuser -Dbatch.program=<method name>

Where the method name is the appropriate one from the list below:

Table 1. Method Names for batch executables
Executable Method Name
DetermineProductDeliveryEligibility curam.core.intf.DetermineProductDeliveryEligibility.process
DetermineProductDeliveryEligibilityStream curam.core.intf.DetermineProductDeliveryEligibilityStream.process
GenerateInstructionLineItems curam.core.intf.GenerateInstructionLineItems.processAllFinancialComponentsDue
GenerateInstructionLineItemsStream curam.core.intf.GenerateInstructionLineItemsStream.process
GenerateInstruments curam.core.intf.GenerateInstruments.processInstructionLineItemsDue
GenerateInstrumentsStream curam.core.intf.GenerateInstrumentsStream.process
CREOLEBulkCaseChunkReassessmentByProduct curam.core.sl.infrastructure.assessment.intf.CREOLEBulkCaseChunkReassessmentByProduct.process
CREOLEBulkCaseChunkReassessmentStream curam.core.sl.infrastructure.assessment.intf.CREOLEBulkCaseChunkReassessmentStream.process
ApplyProductReassessmentStrategy curam.core.sl.infrastructure.assessment.intf.ApplyProductReassessmentStrategy.process
ApplyProductReassessmentStrategyStream curam.core.sl.infrastructure.assessment.intf.ApplyProductReassessmentStrategyStream.process
PerformBatchRecalculationsFromPrecedentChangeSet curam.dependency.intf.PerformBatchRecalculationsFromPrecedentChangeSet.process
PerformBatchRecalculationsFromPrecedentChangeSetStream curam.dependency.intf.PerformBatchRecalculationsFromPrecedentChangeSetStream.process

So for example to run the DetermineProductDeliveryEligibilityStream process the command would be:

ant -f app_batchlauncher.xml -Dbatch.username=superuser -Dbatch.program=curam.core.intf.DetermineProductDeliveryEligibilityStream.process

Note that it is possible to use the BatchLauncher to run the batch executables; however the queued processes will be run sequentially.