org.mule.transport.jms.filters
Class JmsSelectorFilter

java.lang.Object
  extended by org.mule.transport.jms.filters.JmsSelectorFilter
All Implemented Interfaces:
Filter

public class JmsSelectorFilter
extends Object
implements Filter

JmsSelectorFilter is a wrapper for a JMS Selector. This filter should not be called. Instead the JmsConnector sets the selector on the destination to the expression set on this filer.


Constructor Summary
JmsSelectorFilter()
           
 
Method Summary
 boolean accept(MuleMessage message)
          Check a given message against this filter.
 boolean equals(Object obj)
           
 String getExpression()
           
 int hashCode()
           
 void setExpression(String expression)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsSelectorFilter

public JmsSelectorFilter()
Method Detail

accept

public boolean accept(MuleMessage message)
Description copied from interface: Filter
Check a given message against this filter.

Specified by:
accept in interface Filter
Parameters:
message - a non null message to filter.
Returns:
true if the message matches the filter

getExpression

public String getExpression()

setExpression

public void setExpression(String expression)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.