org.mule.module.rss.routing
Class InboundFeedSplitter
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.processor.AbstractFilteringMessageProcessor
org.mule.module.rss.routing.InboundFeedSplitter
- All Implemented Interfaces:
- InterceptingMessageProcessor, MessageProcessor, MessageSource
public class InboundFeedSplitter
- extends AbstractFilteringMessageProcessor
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
logger
protected final transient Log logger
- logger used by this class
FEED_PROPERTY
public static final String FEED_PROPERTY
- See Also:
- Constant Field Values
InboundFeedSplitter
public InboundFeedSplitter()
process
public MuleEvent process(MuleEvent muleEvent)
throws MessagingException
- 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:
MessagingException
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.