org.mule.routing
Class ServiceCatchAllStrategy

java.lang.Object
  extended by org.mule.routing.AbstractCatchAllStrategy
      extended by org.mule.routing.ServiceCatchAllStrategy
All Implemented Interfaces:
RouterCatchAllStrategy

public class ServiceCatchAllStrategy
extends AbstractCatchAllStrategy

ServiceCatchAllStrategy is used to catch any events and forward the events to the service as is.


Field Summary
 
Fields inherited from class org.mule.routing.AbstractCatchAllStrategy
endpoint, logger, statistics
 
Constructor Summary
ServiceCatchAllStrategy()
           
 
Method Summary
 MuleMessage catchMessage(MuleMessage message, MuleSession session, boolean synchronous)
           
 OutboundEndpoint getEndpoint()
           
 void setEndpoint(OutboundEndpoint endpoint)
           
 
Methods inherited from class org.mule.routing.AbstractCatchAllStrategy
getStatistics, setStatistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceCatchAllStrategy

public ServiceCatchAllStrategy()
Method Detail

setEndpoint

public void setEndpoint(OutboundEndpoint endpoint)
Specified by:
setEndpoint in interface RouterCatchAllStrategy
Overrides:
setEndpoint in class AbstractCatchAllStrategy

getEndpoint

public OutboundEndpoint getEndpoint()
Specified by:
getEndpoint in interface RouterCatchAllStrategy
Overrides:
getEndpoint in class AbstractCatchAllStrategy

catchMessage

public MuleMessage catchMessage(MuleMessage message,
                                MuleSession session,
                                boolean synchronous)
                         throws RoutingException
Throws:
RoutingException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.