org.codehaus.activemq.filter
Interface Filter

All Known Implementing Classes:
AndFilter, DestinationFilter, ExpressionFilter, NoLocalFilter, NotFilter, OrFilter

public interface Filter

Represents a subscription filter

Version:
$Revision: 1.1 $

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

Method Detail

matches

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

isWildcard

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


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