Interface ExternalTaskTriggerConsumer

All Known Implementing Classes:
AnnotationScanningExternalTaskTriggerConsumer

public interface ExternalTaskTriggerConsumer
An interface for consuming batches of ExternalTaskTriggerDTOs associated with specific job IDs.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    acceptBatch(List<io.taktx.dto.ExternalTaskTriggerDTO> batch)
    Accepts a batch of ExternalTaskTriggerDTOs for processing.
    Retrieves the set of job IDs that this consumer is interested in.
  • Method Details

    • getJobIds

      Set<String> getJobIds()
      Retrieves the set of job IDs that this consumer is interested in.
      Returns:
      A set of job ID strings.
    • acceptBatch

      void acceptBatch(List<io.taktx.dto.ExternalTaskTriggerDTO> batch)
      Accepts a batch of ExternalTaskTriggerDTOs for processing.
      Parameters:
      batch - A list of ExternalTaskTriggerDTOs to be processed.