Class DeadLetterQueueConfigurationEnhancer

java.lang.Object
io.axoniq.framework.messaging.eventhandling.deadletter.DeadLetterQueueConfigurationEnhancer
All Implemented Interfaces:
ConfigurationEnhancer

public class DeadLetterQueueConfigurationEnhancer extends Object implements ConfigurationEnhancer
A ConfigurationEnhancer that adds Dead Letter Queue (DLQ) support to EventHandlingComponents within a pooled streaming event processor module.

This enhancer registers:

This enhancer operates only within module scopes that contain a PooledStreamingEventProcessorConfiguration. In all other contexts (e.g., non-pooled processors), the decorator returns the delegate unchanged.

Since:
5.1.0
Author:
Mateusz Nowak
See Also:
  • Field Details

  • Constructor Details

    • DeadLetterQueueConfigurationEnhancer

      public DeadLetterQueueConfigurationEnhancer()
  • Method Details

    • order

      public int order()
      Description copied from interface: ConfigurationEnhancer
      Returns the relative order this enhancer should be invoked in, compared to other instances.

      Use lower (negative) values for enhancers providing sensible defaults, and higher values for enhancers that should be able to override values potentially previously set. Defaults to 0 when not set.

      Specified by:
      order in interface ConfigurationEnhancer
      Returns:
      The order in which this enhancer should be invoked.
    • enhance

      public void enhance(ComponentRegistry registry)
      Description copied from interface: ConfigurationEnhancer
      Enhances the given registry with, for example, additional components and decorators.
      Specified by:
      enhance in interface ConfigurationEnhancer
      Parameters:
      registry - The registry instance to enhance.