org.mule.routing
Class LoggingCatchAllStrategy

java.lang.Object
  extended byorg.mule.routing.AbstractCatchAllStrategy
      extended byorg.mule.routing.LoggingCatchAllStrategy
All Implemented Interfaces:
UMORouterCatchAllStrategy

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 acceptible for events to be disposing.

Version:
$Revision: 1.3 $
Author:
Ross Mason

Field Summary
 
Fields inherited from class org.mule.routing.AbstractCatchAllStrategy
endpoint, statistics
 
Constructor Summary
LoggingCatchAllStrategy()
           
 
Method Summary
 UMOMessage catchMessage(UMOMessage message, UMOSession session, boolean synchronous)
           
 UMOEndpoint getEndpoint()
           
 void setEndpoint(java.lang.String endpoint)
           
 void setEndpoint(UMOEndpoint 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

LoggingCatchAllStrategy

public LoggingCatchAllStrategy()
Method Detail

setEndpoint

public void setEndpoint(UMOEndpoint endpoint)
Specified by:
setEndpoint in interface UMORouterCatchAllStrategy
Overrides:
setEndpoint in class AbstractCatchAllStrategy

setEndpoint

public void setEndpoint(java.lang.String endpoint)

getEndpoint

public UMOEndpoint getEndpoint()
Specified by:
getEndpoint in interface UMORouterCatchAllStrategy
Overrides:
getEndpoint in class AbstractCatchAllStrategy

catchMessage

public UMOMessage catchMessage(UMOMessage message,
                               UMOSession session,
                               boolean synchronous)
                        throws RoutingException
Throws:
RoutingException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.