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

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

public class SharedDeadLetterStrategy
extends AbstractDeadLetterStrategy

A default implementation of DeadLetterStrategy which uses a constant destination.

Version:
$Revision: 689022 $

Field Summary
static String DEFAULT_DEAD_LETTER_QUEUE_NAME
           
 
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 org.apache.activemq.broker.region.policy.AbstractDeadLetterStrategy
isProcessExpired, isProcessNonPersistent, isSendToDeadLetterQueue, setProcessExpired, setProcessNonPersistent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DEAD_LETTER_QUEUE_NAME

public static final String DEFAULT_DEAD_LETTER_QUEUE_NAME
See Also:
Constant Field Values
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.


getDeadLetterQueue

public ActiveMQDestination getDeadLetterQueue()

setDeadLetterQueue

public void setDeadLetterQueue(ActiveMQDestination deadLetterQueue)


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.