Package io.axoniq.framework.springboot
Class DeadLetterQueueProcessorProperties.Dlq
java.lang.Object
io.axoniq.framework.springboot.DeadLetterQueueProcessorProperties.Dlq
- Enclosing class:
DeadLetterQueueProcessorProperties
Configuration for the Dead Letter Queue (DLQ) on a single event processor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCache()Returns the cache settings for the DLQ sequence identifier cache.booleanReturns whether the DLQ is enabled for this processor.voidSets the cache settings for the DLQ sequence identifier cache.voidsetEnabled(boolean enabled) Sets whether the DLQ is enabled for this processor.
-
Constructor Details
-
Dlq
public Dlq()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether the DLQ is enabled for this processor.- Returns:
trueif DLQ is enabled,falseotherwise.
-
setEnabled
public void setEnabled(boolean enabled) Sets whether the DLQ is enabled for this processor.- Parameters:
enabled-trueto enable,falseto disable.
-
getCache
Returns the cache settings for the DLQ sequence identifier cache.- Returns:
- The cache settings.
-
setCache
Sets the cache settings for the DLQ sequence identifier cache.- Parameters:
cache- The cache settings.
-