Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » broker » region » policy » [javadoc | source]
org.apache.activemq.broker.region.policy
public class: IndividualDeadLetterStrategy [javadoc | source]
java.lang.Object
   org.apache.activemq.broker.region.policy.AbstractDeadLetterStrategy
      org.apache.activemq.broker.region.policy.IndividualDeadLetterStrategy

All Implemented Interfaces:
    DeadLetterStrategy

A DeadLetterStrategy where each destination has its own individual DLQ using the subject naming hierarchy.
Method from org.apache.activemq.broker.region.policy.IndividualDeadLetterStrategy Summary:
createDestination,   getDeadLetterQueueFor,   getQueuePrefix,   getTopicPrefix,   isUseQueueForQueueMessages,   isUseQueueForTopicMessages,   setQueuePrefix,   setTopicPrefix,   setUseQueueForQueueMessages,   setUseQueueForTopicMessages
Methods from org.apache.activemq.broker.region.policy.AbstractDeadLetterStrategy:
isProcessExpired,   isProcessNonPersistent,   isSendToDeadLetterQueue,   setProcessExpired,   setProcessNonPersistent
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.broker.region.policy.IndividualDeadLetterStrategy Detail:
 protected ActiveMQDestination createDestination(ActiveMQDestination originalDestination,
    String prefix,
    boolean useQueue) 
 public ActiveMQDestination getDeadLetterQueueFor(ActiveMQDestination originalDestination) 
 public String getQueuePrefix() 
 public String getTopicPrefix() 
 public boolean isUseQueueForQueueMessages() 
 public boolean isUseQueueForTopicMessages() 
 public  void setQueuePrefix(String queuePrefix) 
    Sets the prefix to use for all dead letter queues for queue messages
 public  void setTopicPrefix(String topicPrefix) 
    Sets the prefix to use for all dead letter queues for topic messages
 public  void setUseQueueForQueueMessages(boolean useQueueForQueueMessages) 
    Sets whether a queue or topic should be used for queue messages sent to a DLQ. The default is to use a Queue
 public  void setUseQueueForTopicMessages(boolean useQueueForTopicMessages) 
    Sets whether a queue or topic should be used for topic messages sent to a DLQ. The default is to use a Queue