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, wait
catchMessage
protected transient org.apache.commons.logging.Log logger
protected OutboundEndpoint endpoint
protected RouterStatistics statistics
public void setEndpoint(OutboundEndpoint endpoint)
setEndpoint
in interface RouterCatchAllStrategy
public OutboundEndpoint getEndpoint()
getEndpoint
in interface RouterCatchAllStrategy
public RouterStatistics getStatistics()
public void setStatistics(RouterStatistics statistics)
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.