org.activemq.filter
Class PrefixDestinationFilter
java.lang.Object
org.activemq.filter.DestinationFilter
org.activemq.filter.PrefixDestinationFilter
- All Implemented Interfaces:
- Filter
- public class PrefixDestinationFilter
- extends DestinationFilter
Matches messages which match a prefix like "A.B.>"
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrefixDestinationFilter
public PrefixDestinationFilter(java.lang.String[] prefixes)
- An array of paths, the last path is '>'
- Parameters:
prefixes
-
matches
public boolean matches(javax.jms.Destination destination)
- Specified by:
matches
in class DestinationFilter
getText
public java.lang.String getText()
toString
public java.lang.String toString()
isWildcard
public boolean isWildcard()
- Returns:
- return true if this filter is a wildcard filter
and so can match multiple destinations
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.