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.2 $
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 Protique, Ltd.. All Rights Reserved.