Interface TypedRecordProcessor<T extends UnifiedRecordValue>
- All Known Implementing Classes:
ActivateProcessInstanceBatchProcessor
,BpmnStreamProcessor
,CancelTimerProcessor
,CommandProcessorImpl
,CompleteDeploymentDistributionProcessor
,DeploymentCreateProcessor
,DeploymentDistributeProcessor
,JobBatchActivateProcessor
,MessageExpireProcessor
,MessagePublishProcessor
,MessageSubscriptionCorrelateProcessor
,MessageSubscriptionCreateProcessor
,MessageSubscriptionDeleteProcessor
,MessageSubscriptionRejectProcessor
,ProcessInstanceCommandProcessor
,ProcessInstanceModificationProcessor
,ProcessMessageSubscriptionCorrelateProcessor
,ProcessMessageSubscriptionCreateProcessor
,ProcessMessageSubscriptionDeleteProcessor
,ResolveIncidentProcessor
,TerminateProcessInstanceBatchProcessor
,TriggerTimerProcessor
,UpdateVariableDocumentProcessor
public interface TypedRecordProcessor<T extends UnifiedRecordValue>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
processRecord
(TypedRecord<T> record) tryHandleError
(TypedRecord<T> command, Throwable error) Try to handle an error that occurred during processing.
-
Method Details
-
processRecord
-
tryHandleError
default TypedRecordProcessor.ProcessingError tryHandleError(TypedRecord<T> command, Throwable error) Try to handle an error that occurred during processing.- Parameters:
command
- The command that was being processed when the error occurrederror
- The error that occurred, and the processor should attempt to handle- Returns:
- The type of the processing error. Default:
TypedRecordProcessor.ProcessingError.UNEXPECTED_ERROR
.
-