Interface OutboxRecordProcessor

  • All Implemented Interfaces:

    
    public interface OutboxRecordProcessor
    
                        

    Functional interface for processing outbox records.

    Implementations of this interface define how outbox records should be processed, typically by publishing events to message brokers or external systems.

    Since:

    0.1.0

    Author:

    Roland Beisel

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit process(OutboxRecord record) Processes an outbox record.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • process

         abstract Unit process(OutboxRecord record)

        Processes an outbox record.

        This method is called for each outbox record that needs to be processed. Implementations should handle the actual publishing or processing logic.

        Parameters:
        record - The outbox record to process