org.activemq.filter
Class SimpleDestinationFilter

java.lang.Object
  extended by org.activemq.filter.DestinationFilter
      extended by org.activemq.filter.SimpleDestinationFilter
All Implemented Interfaces:
Filter

public class SimpleDestinationFilter
extends DestinationFilter

Matches messages sent to an exact destination

Version:
$Revision: 1.1.1.1 $

Field Summary
 
Fields inherited from class org.activemq.filter.DestinationFilter
ANY_CHILD, ANY_DESCENDENT
 
Constructor Summary
SimpleDestinationFilter(Destination destination)
           
 
Method Summary
 boolean isWildcard()
           
 boolean matches(Destination destination)
           
 
Methods inherited from class org.activemq.filter.DestinationFilter
matches, parseFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDestinationFilter

public SimpleDestinationFilter(Destination destination)
Method Detail

matches

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

isWildcard

public boolean isWildcard()
Returns:
return true if this filter is a wildcard filter and so can match multiple destinations


Copyright © 2004-2010 Protique, Ltd.. All Rights Reserved.