org.apache.activemq.filter
Class WildcardDestinationFilter

java.lang.Object
  extended by org.apache.activemq.filter.DestinationFilter
      extended by org.apache.activemq.filter.WildcardDestinationFilter
All Implemented Interfaces:
BooleanExpression, Expression

public class WildcardDestinationFilter
extends DestinationFilter

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
WildcardDestinationFilter(String[] prefixes, byte destinationType)
          An array of paths containing * characters
 
Method Summary
 String getText()
           
 boolean isWildcard()
           
 boolean matches(ActiveMQDestination destination)
           
 String toString()
           
 
Methods inherited from class org.apache.activemq.filter.DestinationFilter
evaluate, matches, parseFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WildcardDestinationFilter

public WildcardDestinationFilter(String[] prefixes,
                                 byte destinationType)
An array of paths containing * characters

Parameters:
prefixes -
Method Detail

matches

public boolean matches(ActiveMQDestination destination)
Specified by:
matches in class DestinationFilter

getText

public String getText()

toString

public String toString()
Overrides:
toString in class Object

isWildcard

public boolean isWildcard()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.