public class SharedDeadLetterStrategy extends AbstractDeadLetterStrategy
DeadLetterStrategy
which uses
a constant destination.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DEAD_LETTER_QUEUE_NAME |
Constructor and Description |
---|
SharedDeadLetterStrategy() |
Modifier and Type | Method and Description |
---|---|
ActiveMQDestination |
getDeadLetterQueue() |
ActiveMQDestination |
getDeadLetterQueueFor(Message message,
Subscription subscription)
Returns the dead letter queue for the given message and subscription.
|
void |
setDeadLetterQueue(ActiveMQDestination deadLetterQueue) |
isEnableAudit, isProcessExpired, isProcessNonPersistent, isSendToDeadLetterQueue, setEnableAudit, setProcessExpired, setProcessNonPersistent
public static final String DEFAULT_DEAD_LETTER_QUEUE_NAME
public SharedDeadLetterStrategy()
public ActiveMQDestination getDeadLetterQueueFor(Message message, Subscription subscription)
DeadLetterStrategy
public ActiveMQDestination getDeadLetterQueue()
public void setDeadLetterQueue(ActiveMQDestination deadLetterQueue)
Copyright © 2005–2015. All rights reserved.