org.mule.module.atom.endpoint
Class AtomInboundEndpoint
java.lang.Object
org.mule.endpoint.AbstractEndpoint
org.mule.endpoint.DefaultInboundEndpoint
org.mule.module.atom.endpoint.AtomInboundEndpoint
- All Implemented Interfaces:
- Serializable, ImmutableEndpoint, InboundEndpoint, InboundEndpointDecorator, OutboundEndpointDecorator, MessageRequesting
public class AtomInboundEndpoint
- extends DefaultInboundEndpoint
- implements InboundEndpointDecorator
An ATOM endpoint is used for polling an ATOM feed and processing the feed entries
- See Also:
- Serialized Form
| 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 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 |
AtomInboundEndpoint
public AtomInboundEndpoint(boolean splitFeed,
Date lastUpdate,
List<String> acceptedMimeTypes,
InboundEndpoint ie)
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.