org.mule.api.endpoint
Interface OutboundEndpointDecorator

All Known Subinterfaces:
InboundEndpointDecorator
All Known Implementing Classes:
AtomInboundEndpoint, RssInboundEndpoint

public interface OutboundEndpointDecorator

Used on custom endpoints that provide additional processing to service or message to handle the way certain types of messages are handled. For example, the ATOM endpoint adds an inbound router and filter for splitting atom feeds.


Method Summary
 boolean onMessage(MuleMessage message)
          This message will be invoked whenever a message passes throw the endpoint.
 

Method Detail

onMessage

boolean onMessage(MuleMessage message)
                  throws MuleException
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

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


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