org.activemq.filter
Class DestinationFilter
java.lang.Object
org.activemq.filter.DestinationFilter
- All Implemented Interfaces:
- Filter
- Direct Known Subclasses:
- CompositeDestinationFilter, PrefixDestinationFilter, SimpleDestinationFilter, WildcardDestinationFilter
- public abstract class DestinationFilter
- extends Object
- implements Filter
Represents a filter which only operates on Destinations
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANY_DESCENDENT
public static final String ANY_DESCENDENT
- See Also:
- Constant Field Values
ANY_CHILD
public static final String ANY_CHILD
- See Also:
- Constant Field Values
DestinationFilter
public DestinationFilter()
matches
public boolean matches(Message message)
throws JMSException
- Specified by:
matches
in interface Filter
- Returns:
- true if this filter matches the given JMS message
- Throws:
JMSException
matches
public abstract boolean matches(Destination destination)
parseFilter
public static DestinationFilter parseFilter(Destination destination)
Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.