Class OutboxProcessor

java.lang.Object
one.tomorrow.transactionaloutbox.service.OutboxProcessor

public class OutboxProcessor
extends java.lang.Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static interface  OutboxProcessor.KafkaProducerFactory  
  • Constructor Summary

    Constructors 
    Constructor Description
    OutboxProcessor​(OutboxRepository repository, OutboxProcessor.KafkaProducerFactory producerFactory, java.time.Duration processingInterval, java.time.Duration lockTimeout, java.lang.String lockOwnerId, java.lang.String eventSource, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)  
  • Method Summary

    Modifier and Type Method Description
    void close()  

    Methods inherited from class java.lang.Object

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

    • OutboxProcessor

      public OutboxProcessor​(OutboxRepository repository, OutboxProcessor.KafkaProducerFactory producerFactory, java.time.Duration processingInterval, java.time.Duration lockTimeout, java.lang.String lockOwnerId, java.lang.String eventSource, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
  • Method Details

    • close

      @PreDestroy public void close()