org.mule.routing
Class LoggingCatchAllStrategy

java.lang.Object
  extended by org.mule.routing.AbstractCatchAllStrategy
      extended by org.mule.routing.LoggingCatchAllStrategy
All Implemented Interfaces:
MessageProcessor, OutboundRouterCatchAllStrategy, RouterStatisticsRecorder

public class LoggingCatchAllStrategy
extends AbstractCatchAllStrategy

LoggingCatchAllStrategy is a simple strategy that only logs any events not caught by the router associated with this strategy. This should not be used in production unless it is acceptable for events to be lost.


Field Summary
 
Fields inherited from class org.mule.routing.AbstractCatchAllStrategy
statistics
 
Constructor Summary
LoggingCatchAllStrategy()
           
 
Method Summary
 MuleEvent doCatchMessage(MuleEvent event)
           
 
Methods inherited from class org.mule.routing.AbstractCatchAllStrategy
getRouterStatistics, process, setRouterStatistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingCatchAllStrategy

public LoggingCatchAllStrategy()
Method Detail

doCatchMessage

public MuleEvent doCatchMessage(MuleEvent event)
                         throws RoutingException
Specified by:
doCatchMessage in class AbstractCatchAllStrategy
Throws:
RoutingException


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