org.mule.routing
Class AbstractCatchAllStrategy

java.lang.Object
  extended byorg.mule.routing.AbstractCatchAllStrategy
All Implemented Interfaces:
UMORouterCatchAllStrategy
Direct Known Subclasses:
ComponentCatchAllStrategy, ForwardingCatchAllStrategy, LoggingCatchAllStrategy

public abstract class AbstractCatchAllStrategy
extends java.lang.Object
implements UMORouterCatchAllStrategy

ForwardingCatchAllStrategy acts as a catch and forward router for any events not caught by the router this strategy is associated with. Users can assign an endpoint to this strategy to forward all events to. This is similar to a dead letter queue in messaging.

Version:
$Revision: 1.2 $
Author:
Ross Mason

Field Summary
protected  UMOEndpoint endpoint
           
protected  Log logger
          logger used by this class
protected  RouterStatistics statistics
           
 
Constructor Summary
AbstractCatchAllStrategy()
           
 
Method Summary
 UMOEndpoint getEndpoint()
           
 RouterStatistics getStatistics()
           
 void setEndpoint(UMOEndpoint endpoint)
           
 void setStatistics(RouterStatistics statistics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.umo.routing.UMORouterCatchAllStrategy
catchMessage
 

Field Detail

logger

protected transient Log logger
logger used by this class


endpoint

protected UMOEndpoint endpoint

statistics

protected RouterStatistics statistics
Constructor Detail

AbstractCatchAllStrategy

public AbstractCatchAllStrategy()
Method Detail

setEndpoint

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

getEndpoint

public UMOEndpoint getEndpoint()
Specified by:
getEndpoint in interface UMORouterCatchAllStrategy

getStatistics

public RouterStatistics getStatistics()

setStatistics

public void setStatistics(RouterStatistics statistics)


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