org.apache.activemq.broker.region.policy
Class SharedDeadLetterStrategy

java.lang.Object
  extended by org.apache.activemq.broker.region.policy.SharedDeadLetterStrategy
All Implemented Interfaces:
DeadLetterStrategy

public class SharedDeadLetterStrategy
extends java.lang.Object
implements DeadLetterStrategy

A default implementation of DeadLetterStrategy which uses a constant destination.

Version:
$Revision: 426366 $

Constructor Summary
SharedDeadLetterStrategy()
           
 
Method Summary
 ActiveMQDestination getDeadLetterQueue()
           
 ActiveMQDestination getDeadLetterQueueFor(ActiveMQDestination originalDestination)
          Returns the dead letter queue for the given destination.
 void setDeadLetterQueue(ActiveMQDestination deadLetterQueue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedDeadLetterStrategy

public SharedDeadLetterStrategy()
Method Detail

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.