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(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, isDLQ, setDeadLetterQueueisEnableAudit, isProcessExpired, isProcessNonPersistent, rollback, setEnableAudit, setProcessExpired, setProcessNonPersistentpublic boolean isSendToDeadLetterQueue(Message message)
DeadLetterStrategyisSendToDeadLetterQueue in interface DeadLetterStrategyisSendToDeadLetterQueue in class AbstractDeadLetterStrategyCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.