org.mule.module.rss.routing
Class FeedSplitter

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

public class FeedSplitter
extends AbstractSplitter

Will split the feed into entries. This message processor 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.outbound.AbstractMessageSequenceSplitter
batchSize, counterVariableName, enableCorrelation, messageInfoMapping, muleContext, resultsHandler
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
next, notificationHandler
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
FeedSplitter()
           
 
Method Summary
 Filter getEntryFilter()
           
 void setEntryFilter(Filter entryFilter)
           
protected  List<MuleMessage> splitMessage(MuleEvent event)
           
protected  com.sun.syndication.feed.synd.SyndFeed transformToFeed(MuleEvent event)
           
 
Methods inherited from class org.mule.routing.AbstractSplitter
splitMessageIntoSequence
 
Methods inherited from class org.mule.routing.outbound.AbstractMessageSequenceSplitter
isSplitRequired, process, processParts, setBatchSize, setCounterVariableName, setEnableCorrelation, setMessageInfoMapping, setMuleContext
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
getAnnotation, getAnnotations, getListener, getMuleContext, isEventValid, processNext, setAnnotations, setListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.source.MessageSource
setListener
 

Field Detail

FEED_PROPERTY

public static final String FEED_PROPERTY
See Also:
Constant Field Values

logger

protected final transient Log logger
logger used by this class

Constructor Detail

FeedSplitter

public FeedSplitter()
Method Detail

splitMessage

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

transformToFeed

protected com.sun.syndication.feed.synd.SyndFeed transformToFeed(MuleEvent event)
                                                          throws TransformerException
Throws:
TransformerException

getEntryFilter

public Filter getEntryFilter()

setEntryFilter

public void setEntryFilter(Filter entryFilter)


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