Class ProcessingResult

java.lang.Object
org.apache.camel.component.kafka.consumer.support.ProcessingResult

public final class ProcessingResult extends Object
Holds the result of processing one or more consumer records
  • Constructor Details

    • ProcessingResult

      public ProcessingResult(boolean breakOnErrorHit, boolean failed)
      Constructs a new processing result
      Parameters:
      breakOnErrorHit - break on error hit setting
      failed - whether processing has failed
  • Method Details

    • isBreakOnErrorHit

      public boolean isBreakOnErrorHit()
    • isFailed

      public boolean isFailed()
    • newUnprocessed

      public static ProcessingResult newUnprocessed()