public class DiscardingDeadLetterStrategy extends SharedDeadLetterStrategy
DeadLetterStrategy where each destination has its own individual
DLQ using the subject naming hierarchy.DEFAULT_DEAD_LETTER_QUEUE_NAME| Constructor and Description |
|---|
DiscardingDeadLetterStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSendToDeadLetterQueue(org.apache.activemq.command.Message message)
Allow pluggable strategy for deciding if message should be sent to a dead letter queue
for example, you might not want to ignore expired or non-persistent messages
|
getDeadLetterQueue, getDeadLetterQueueFor, setDeadLetterQueuegetExpiration, getMaxAuditDepth, getMaxProducersToAudit, isEnableAudit, isProcessExpired, isProcessNonPersistent, rollback, setEnableAudit, setExpiration, setMaxAuditDepth, setMaxProducersToAudit, setProcessExpired, setProcessNonPersistentpublic DiscardingDeadLetterStrategy()
public boolean isSendToDeadLetterQueue(org.apache.activemq.command.Message message)
DeadLetterStrategyisSendToDeadLetterQueue in interface DeadLetterStrategyisSendToDeadLetterQueue in class AbstractDeadLetterStrategyCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.