org.activemq.filter
Interface Filter

All Known Implementing Classes:
AndFilter, CompositeDestinationFilter, DestinationFilter, ExpressionFilter, NoLocalFilter, NotFilter, OrFilter, PrefixDestinationFilter, SimpleDestinationFilter, WildcardDestinationFilter

public interface Filter

Represents a subscription filter

Version:
$Revision: 1.1.1.1 $

Method Summary
 boolean isWildcard()
           
 boolean matches(Message message)
           
 

Method Detail

matches

boolean matches(Message message)
                throws JMSException
Returns:
true if this filter matches the given JMS message
Throws:
JMSException

isWildcard

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.