Package org.apache.activemq.filter
Class WildcardDestinationFilter
java.lang.Object
org.apache.activemq.filter.DestinationFilter
org.apache.activemq.filter.WildcardDestinationFilter
- All Implemented Interfaces:
BooleanExpression
,Expression
Matches messages which contain wildcards like "A.B.*.*"
-
Field Summary
Fields inherited from class org.apache.activemq.filter.DestinationFilter
ANY_CHILD, ANY_DESCENDENT
-
Constructor Summary
ConstructorDescriptionWildcardDestinationFilter
(String[] prefixes, byte destinationType) An array of paths containing * characters -
Method Summary
Modifier and TypeMethodDescriptiongetText()
boolean
boolean
matches
(ActiveMQDestination destination) toString()
Methods inherited from class org.apache.activemq.filter.DestinationFilter
evaluate, matches, parseFilter
-
Constructor Details
-
WildcardDestinationFilter
An array of paths containing * characters- Parameters:
prefixes
-
-
-
Method Details
-
matches
- Specified by:
matches
in classDestinationFilter
-
getText
-
toString
-
isWildcard
public boolean isWildcard()- Specified by:
isWildcard
in classDestinationFilter
-