org.mule.routing.filters
Class ConsumableMuleMessageFilter
java.lang.Object
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.
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 |
ConsumableMuleMessageFilter
public ConsumableMuleMessageFilter()
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.