Filter (ActiveMQ 1.1 API)
Keywords: org.codehaus.activemq.filter.Filter interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 $

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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