org.apache.activemq.filter
Class PrefixDestinationFilter
java.lang.Object
org.apache.activemq.filter.DestinationFilter
org.apache.activemq.filter.PrefixDestinationFilter
- All Implemented Interfaces:
- BooleanExpression, Expression
public class PrefixDestinationFilter
- extends DestinationFilter
Matches messages which match a prefix like "A.B.>"
Constructor Summary |
PrefixDestinationFilter(java.lang.String[] prefixes,
byte destinationType)
An array of paths, the last path is '>' |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrefixDestinationFilter
public PrefixDestinationFilter(java.lang.String[] prefixes,
byte destinationType)
- An array of paths, the last path is '>'
- Parameters:
prefixes
-
matches
public boolean matches(ActiveMQDestination destination)
- Specified by:
matches
in class DestinationFilter
getText
public java.lang.String getText()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isWildcard
public boolean isWildcard()
Copyright © 2005-2015. All Rights Reserved.