Interface TypedRecordProcessor<T extends UnifiedRecordValue>
- All Known Implementing Classes:
ActivateProcessInstanceBatchProcessor
,BpmnStreamProcessor
,CancelTimerProcessor
,CommandDistributionAcknowledgeProcessor
,CommandProcessorImpl
,CompleteDeploymentDistributionProcessor
,DeploymentCreateProcessor
,DeploymentDistributeProcessor
,EvaluateDecisionProcessor
,JobBatchActivateProcessor
,JobFailProcessor
,JobRecurProcessor
,JobTimeOutProcessor
,MessageExpireProcessor
,MessagePublishProcessor
,MessageSubscriptionCorrelateProcessor
,MessageSubscriptionCreateProcessor
,MessageSubscriptionDeleteProcessor
,MessageSubscriptionRejectProcessor
,ProcessInstanceCommandProcessor
,ProcessInstanceModificationProcessor
,ProcessMessageSubscriptionCorrelateProcessor
,ProcessMessageSubscriptionCreateProcessor
,ProcessMessageSubscriptionDeleteProcessor
,ResolveIncidentProcessor
,ResourceDeletionProcessor
,SignalBroadcastProcessor
,TerminateProcessInstanceBatchProcessor
,TriggerTimerProcessor
,UpdateVariableDocumentProcessor
public interface TypedRecordProcessor<T extends UnifiedRecordValue>
-
Nested Class Summary
Nested Classes -
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
.
-