org.apache.activemq.filter
Class DestinationMapEntry<T>
java.lang.Object
org.apache.activemq.filter.DestinationMapEntry<T>
- All Implemented Interfaces:
- Comparable<T>
- Direct Known Subclasses:
- DefaultDestinationMapEntry, RedeliveryPolicy
public abstract class DestinationMapEntry<T>
- extends Object
- implements Comparable<T>
A base class for entry objects used to construct a destination based policy
map.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destination
protected ActiveMQDestination destination
DestinationMapEntry
public DestinationMapEntry()
compareTo
public int compareTo(Object that)
- Specified by:
compareTo in interface Comparable<T>
setQueue
public void setQueue(String name)
- A helper method to set the destination from a configuration file
setTopic
public void setTopic(String name)
- A helper method to set the destination from a configuration file
setTempTopic
public void setTempTopic(boolean flag)
setTempQueue
public void setTempQueue(boolean flag)
getDestination
public ActiveMQDestination getDestination()
setDestination
public void setDestination(ActiveMQDestination destination)
getValue
public Comparable<T> getValue()
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.