org.apache.activemq.broker.region.policy
Class SharedDeadLetterStrategy
java.lang.Object
org.apache.activemq.broker.region.policy.AbstractDeadLetterStrategy
org.apache.activemq.broker.region.policy.SharedDeadLetterStrategy
- All Implemented Interfaces:
- DeadLetterStrategy
- Direct Known Subclasses:
- DiscardingDeadLetterStrategy
public class SharedDeadLetterStrategy
- extends AbstractDeadLetterStrategy
A default implementation of DeadLetterStrategy which uses
a constant destination.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_DEAD_LETTER_QUEUE_NAME
public static final String DEFAULT_DEAD_LETTER_QUEUE_NAME
- See Also:
- Constant Field Values
SharedDeadLetterStrategy
public SharedDeadLetterStrategy()
getDeadLetterQueueFor
public ActiveMQDestination getDeadLetterQueueFor(Message message,
Subscription subscription)
- Description copied from interface:
DeadLetterStrategy
- Returns the dead letter queue for the given message and subscription.
getDeadLetterQueue
public ActiveMQDestination getDeadLetterQueue()
setDeadLetterQueue
public void setDeadLetterQueue(ActiveMQDestination deadLetterQueue)
isDLQ
public boolean isDLQ(ActiveMQDestination destination)
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.