Class DeadLetterQueueProcessorProperties

java.lang.Object
io.axoniq.framework.springboot.DeadLetterQueueProcessorProperties

@ConfigurationProperties("axon.eventhandling") public class DeadLetterQueueProcessorProperties extends Object
Spring Boot configuration properties for Dead Letter Queue (DLQ) settings per event processor.

Binds to the axon.eventhandling.processors.<name>.dlq.* property namespace. Each processor can independently enable or disable dead-lettering and tune cache settings:


 axon:
   eventhandling:
     processors:
       my-processor:
         dlq:
           enabled: true
           cache:
             size: 2048
 

When no properties are configured for a processor, forProcessor(String) returns defaults (DLQ disabled, cache size 1024).

Since:
5.1.0
Author:
Mateusz Nowak
  • Constructor Details

    • DeadLetterQueueProcessorProperties

      public DeadLetterQueueProcessorProperties()
  • Method Details