org.mule.module.rss.routing
Class FeedSplitter

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessor
      extended by org.mule.routing.AbstractSplitter
          extended by org.mule.module.rss.routing.FeedSplitter
All Implemented Interfaces:
MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource

public class FeedSplitter
extends AbstractSplitter

Will split the feed into entries. This router also filters out any entries that are older than the last one read The filter can be configured with a date from which to accept feed entries


Field Summary
static String FEED_PROPERTY
           
protected  Log logger
          logger used by this class
 
Fields inherited from class org.mule.routing.AbstractSplitter
enableCorrelation, messageInfoMapping, muleContext, resultsHandler
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
next, notificationHandler
 
Constructor Summary
FeedSplitter()
           
 
Method Summary
 Filter getEntryFilter()
           
 void setEntryFilter(Filter entryFilter)
           
protected  List<MuleMessage> splitMessage(MuleEvent event)
           
 
Methods inherited from class org.mule.routing.AbstractSplitter
isSplitRequired, process, processParts, setEnableCorrelation, setMessageInfoMapping, setMuleContext
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
fireNotification, getMuleContext, 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

FeedSplitter

public FeedSplitter()
Method Detail

splitMessage

protected List<MuleMessage> splitMessage(MuleEvent event)
                                  throws MuleException
Specified by:
splitMessage in class AbstractSplitter
Throws:
MuleException

getEntryFilter

public Filter getEntryFilter()

setEntryFilter

public void setEntryFilter(Filter entryFilter)


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