org.mule.routing.filters
Class ConsumableMuleMessageFilter

java.lang.Object
  extended by org.mule.routing.filters.ConsumableMuleMessageFilter
All Implemented Interfaces:
Filter

public class ConsumableMuleMessageFilter
extends Object
implements Filter

Filters messages that have a consumable payload.

The filter accepts only DefaultMuleMessage instances that have a no consumable payload. Check is done using DefaultMuleMessage.isConsumable() method.


Constructor Summary
ConsumableMuleMessageFilter()
           
 
Method Summary
 boolean accept(MuleMessage message)
          Check a given message against this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumableMuleMessageFilter

public ConsumableMuleMessageFilter()
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


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