Class MessageCorrelationBatchJobHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<MessageCorrelationBatchConfiguration>
-
- org.camunda.bpm.engine.impl.batch.message.MessageCorrelationBatchJobHandler
-
- All Implemented Interfaces:
BatchJobHandler<MessageCorrelationBatchConfiguration>,JobHandler<BatchJobConfiguration>
public class MessageCorrelationBatchJobHandler extends AbstractBatchJobHandler<MessageCorrelationBatchConfiguration>
Job handler for message correlation jobs. The jobs correlate a message to a list of process instances.
-
-
Field Summary
Fields Modifier and Type Field Description static BatchJobDeclarationJOB_DECLARATION
-
Constructor Summary
Constructors Constructor Description MessageCorrelationBatchJobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MessageCorrelationBatchConfigurationcreateJobConfiguration(MessageCorrelationBatchConfiguration configuration, List<String> processIdsForJob)voidexecute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)JobDeclaration<BatchJobContext,MessageEntity>getJobDeclaration()Get the job declaration for batch jobs.protected MessageCorrelationBatchConfigurationJsonConvertergetJsonConverterInstance()StringgetType()protected voidpostProcessJob(MessageCorrelationBatchConfiguration configuration, JobEntity job, MessageCorrelationBatchConfiguration jobConfiguration)protected voidsetVariables(String batchId, MessageCorrelationBuilder correlationBuilder, CommandContext commandContext)-
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
createBatchJob, createJobEntities, createJobs, deleteJobs, newConfiguration, onDelete, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
-
-
-
-
Field Detail
-
JOB_DECLARATION
public static final BatchJobDeclaration JOB_DECLARATION
-
-
Method Detail
-
getType
public String getType()
-
getJobDeclaration
public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
Description copied from interface:BatchJobHandlerGet the job declaration for batch jobs.- Specified by:
getJobDeclarationin interfaceBatchJobHandler<MessageCorrelationBatchConfiguration>- Specified by:
getJobDeclarationin classAbstractBatchJobHandler<MessageCorrelationBatchConfiguration>- Returns:
- the batch job declaration
-
getJsonConverterInstance
protected MessageCorrelationBatchConfigurationJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstancein classAbstractBatchJobHandler<MessageCorrelationBatchConfiguration>
-
createJobConfiguration
protected MessageCorrelationBatchConfiguration createJobConfiguration(MessageCorrelationBatchConfiguration configuration, List<String> processIdsForJob)
- Specified by:
createJobConfigurationin classAbstractBatchJobHandler<MessageCorrelationBatchConfiguration>
-
postProcessJob
protected void postProcessJob(MessageCorrelationBatchConfiguration configuration, JobEntity job, MessageCorrelationBatchConfiguration jobConfiguration)
- Overrides:
postProcessJobin classAbstractBatchJobHandler<MessageCorrelationBatchConfiguration>
-
execute
public void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
-
setVariables
protected void setVariables(String batchId, MessageCorrelationBuilder correlationBuilder, CommandContext commandContext)
-
-