org.mule.module.atom.routing
Class InboundFeedSplitter

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessor
      extended by org.mule.processor.AbstractFilteringMessageProcessor
          extended by org.mule.module.atom.routing.InboundFeedSplitter
All Implemented Interfaces:
InterceptingMessageProcessor, MessageProcessor, MessageSource

public class InboundFeedSplitter
extends AbstractFilteringMessageProcessor

An inbound router that will split a Feed into entries. A filter can be applied to the entries to omit certain entries, the most common use of this would be to filter out entries that have already been read by using the EntryLastUpdatedFilter filter.


Field Summary
static String FEED_PROPERTY
           
protected  Log logger
          logger used by this class
 
Fields inherited from class org.mule.processor.AbstractFilteringMessageProcessor
throwOnUnaccepted, unacceptedMessageProcessor
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
next
 
Constructor Summary
InboundFeedSplitter()
           
 
Method Summary
 boolean accept(MuleEvent muleEvent)
           
 List<String> getAcceptedContentTypes()
           
 Filter getEntryFilter()
           
 MuleEvent process(MuleEvent muleEvent)
          Invokes the MessageProcessor.
 void setAcceptedContentTypes(List<String> acceptedContentTypes)
           
 void setEntryFilter(Filter entryFilter)
           
 
Methods inherited from class org.mule.processor.AbstractFilteringMessageProcessor
filterUnacceptedException, getUnacceptedMessageProcessor, handleUnaccepted, isThrowOnUnaccepted, setThrowOnUnaccepted, setUnacceptedMessageProcessor
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
processNext, setListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected final transient Log logger
logger used by this class


FEED_PROPERTY

public static final String FEED_PROPERTY
See Also:
Constant Field Values
Constructor Detail

InboundFeedSplitter

public InboundFeedSplitter()
Method Detail

process

public MuleEvent process(MuleEvent muleEvent)
                  throws MuleException
Description copied from interface: MessageProcessor
Invokes the MessageProcessor.

Specified by:
process in interface MessageProcessor
Overrides:
process in class AbstractFilteringMessageProcessor
Parameters:
muleEvent - MuleEvent to be processed
Returns:
optional response MuleEvent
Throws:
MuleException

accept

public boolean accept(MuleEvent muleEvent)
Specified by:
accept in class AbstractFilteringMessageProcessor

getEntryFilter

public Filter getEntryFilter()

setEntryFilter

public void setEntryFilter(Filter entryFilter)

getAcceptedContentTypes

public List<String> getAcceptedContentTypes()

setAcceptedContentTypes

public void setAcceptedContentTypes(List<String> acceptedContentTypes)


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