org.mule.module.rss.endpoint
Class RssInboundEndpoint

java.lang.Object
  extended by org.mule.endpoint.AbstractEndpoint
      extended by org.mule.endpoint.DefaultInboundEndpoint
          extended by org.mule.module.rss.endpoint.RssInboundEndpoint
All Implemented Interfaces:
Serializable, ImmutableEndpoint, InboundEndpoint, InboundEndpointDecorator, OutboundEndpointDecorator, MessageRequesting

public class RssInboundEndpoint
extends DefaultInboundEndpoint
implements InboundEndpointDecorator

TODO

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mule.endpoint.AbstractEndpoint
logger, retryPolicyTemplate
 
Fields inherited from interface org.mule.api.endpoint.ImmutableEndpoint
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED
 
Fields inherited from interface org.mule.api.transport.MessageRequesting
REQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELY
 
Constructor Summary
RssInboundEndpoint(boolean splitFeed, Date lastUpdate, List<String> acceptedContentTypes, InboundEndpoint ie)
           
 
Method Summary
 List<String> getAcceptedMimeTypes()
           
 Date getLastUpdate()
           
 boolean isMimeSupported(String mime)
           
 boolean isProtocolSupported(String protocol)
           
 boolean isSplitFeed()
           
 void onListenerAdded(Service service)
          A call back that is invoked when an inbound endpoint is registered with a service.
 boolean onMessage(MuleMessage message)
          This message will be invoked whenever a message passes throw the endpoint.
 
Methods inherited from class org.mule.endpoint.DefaultInboundEndpoint
request
 
Methods inherited from class org.mule.endpoint.AbstractEndpoint
equal, equals, getConnector, getEncoding, getEndpointBuilderName, getEndpointURI, getFilter, getInitialState, getMuleContext, getName, getProperties, getProperty, getProtocol, getResponseTimeout, getResponseTransformers, getRetryPolicyTemplate, getSecurityFilter, getTransactionConfig, getTransformers, hashCode, isDeleteUnacceptedMessages, isReadOnly, isSynchronous, toString, updateTransformerEndpoints
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.endpoint.ImmutableEndpoint
getConnector, getEncoding, getEndpointBuilderName, getEndpointURI, getFilter, getInitialState, getMuleContext, getName, getProperties, getProperty, getProtocol, getResponseTimeout, getResponseTransformers, getRetryPolicyTemplate, getSecurityFilter, getTransactionConfig, getTransformers, isDeleteUnacceptedMessages, isReadOnly, isSynchronous
 

Constructor Detail

RssInboundEndpoint

public RssInboundEndpoint(boolean splitFeed,
                          Date lastUpdate,
                          List<String> acceptedContentTypes,
                          InboundEndpoint ie)
Method Detail

isSplitFeed

public boolean isSplitFeed()

getLastUpdate

public Date getLastUpdate()

getAcceptedMimeTypes

public List<String> getAcceptedMimeTypes()

isProtocolSupported

public boolean isProtocolSupported(String protocol)
Specified by:
isProtocolSupported in interface ImmutableEndpoint
Overrides:
isProtocolSupported in class AbstractEndpoint

onListenerAdded

public void onListenerAdded(Service service)
                     throws MuleException
Description copied from interface: InboundEndpointDecorator
A call back that is invoked when an inbound endpoint is registered with a service. this allows the service to be modified. THis is only used when the endpoint needs an inbound router of filter will be added by the endpoint to change the flow of the message processing

Specified by:
onListenerAdded in interface InboundEndpointDecorator
Parameters:
service - the service that the endpoint was registered with
Throws:
MuleException - if something fails while manipulating the service

onMessage

public boolean onMessage(MuleMessage message)
                  throws MuleException
Description copied from interface: OutboundEndpointDecorator
This message will be invoked whenever a message passes throw the endpoint. Implementors can modify the message on the way through. The message returned from this method will continue to be processed. If null is returned the message flow is halted

Specified by:
onMessage in interface OutboundEndpointDecorator
Parameters:
message - the current message being processed
Returns:
true if message processing should continue, false otherwise the message flow is halted
Throws:
MuleException - if the message processing causes an exception

isMimeSupported

public boolean isMimeSupported(String mime)


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