org.apache.activemq.broker.region.policy
Class SharedDeadLetterStrategy
java.lang.Object
org.apache.activemq.broker.region.policy.SharedDeadLetterStrategy
- All Implemented Interfaces:
- DeadLetterStrategy
public class SharedDeadLetterStrategy
- extends Object
- implements DeadLetterStrategy
A default implementation of DeadLetterStrategy
which uses
a constant destination.
- Version:
- $Revision: 426366 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedDeadLetterStrategy
public SharedDeadLetterStrategy()
getDeadLetterQueueFor
public ActiveMQDestination getDeadLetterQueueFor(ActiveMQDestination originalDestination)
- Description copied from interface:
DeadLetterStrategy
- Returns the dead letter queue for the given destination.
- Specified by:
getDeadLetterQueueFor
in interface DeadLetterStrategy
getDeadLetterQueue
public ActiveMQDestination getDeadLetterQueue()
setDeadLetterQueue
public void setDeadLetterQueue(ActiveMQDestination deadLetterQueue)
Copyright © 2011 Apache Software Foundation. All Rights Reserved.