public abstract class AbstractCatchAllStrategy extends Object implements RouterCatchAllStrategy
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.| Modifier and Type | Field and Description |
|---|---|
protected OutboundEndpoint |
endpoint |
protected org.apache.commons.logging.Log |
logger
logger used by this class
|
protected RouterStatistics |
statistics |
| Constructor and Description |
|---|
AbstractCatchAllStrategy() |
| Modifier and Type | Method and Description |
|---|---|
OutboundEndpoint |
getEndpoint() |
RouterStatistics |
getStatistics() |
void |
setEndpoint(OutboundEndpoint endpoint) |
void |
setStatistics(RouterStatistics statistics) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcatchMessageprotected transient org.apache.commons.logging.Log logger
protected OutboundEndpoint endpoint
protected RouterStatistics statistics
public void setEndpoint(OutboundEndpoint endpoint)
setEndpoint in interface RouterCatchAllStrategypublic OutboundEndpoint getEndpoint()
getEndpoint in interface RouterCatchAllStrategypublic RouterStatistics getStatistics()
public void setStatistics(RouterStatistics statistics)
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.