Class EventProcessorProperties.Dlq

java.lang.Object
org.axonframework.extension.springboot.EventProcessorProperties.Dlq
Enclosing class:
EventProcessorProperties

public static class EventProcessorProperties.Dlq extends Object
Configuration for the Dead-letter-queue (DLQ).
  • Constructor Summary

    Constructors
    Constructor
    Description
    Dlq()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the AutoConfiguration settings for the cache of the sequenced dead letter queue.
    boolean
    Indicates whether creating and configuring a
    invalid reference
    org.axonframework.messaging.deadletter.SequencedDeadLetterQueue
    is enabled.
    void
    Defines the AutoConfiguration settings for the cache of the sequenced dead letter queue.
    void
    setEnabled(boolean enabled)
    Enables (if true, default) or disables (if false) creating a
    invalid reference
    org.axonframework.messaging.deadletter.SequencedDeadLetterQueue
    .

    Methods inherited from class java.lang.Object

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

    • Dlq

      public Dlq()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Indicates whether creating and configuring a
      invalid reference
      org.axonframework.messaging.deadletter.SequencedDeadLetterQueue
      is enabled.
      Returns:
      true if creating the queue is enabled, false if otherwise
    • setEnabled

      public void setEnabled(boolean enabled)
      Enables (if true, default) or disables (if false) creating a
      invalid reference
      org.axonframework.messaging.deadletter.SequencedDeadLetterQueue
      .
      Parameters:
      enabled - whether to enable token store creation.
    • getCache

      Retrieves the AutoConfiguration settings for the cache of the sequenced dead letter queue.
      Returns:
      the AutoConfiguration settings for the cache of the sequenced dead letter queue.
    • setCache

      public void setCache(EventProcessorProperties.DlqCache cache)
      Defines the AutoConfiguration settings for the cache of the sequenced dead letter queue.
      Parameters:
      cache - the cache settings for the sequenced dead letter.