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.endpoint, statistics| Constructor and Description |
|---|
LoggingCatchAllStrategy() |
| Modifier and Type | Method and Description |
|---|---|
MuleMessage |
catchMessage(MuleMessage message,
MuleSession session,
boolean synchronous) |
OutboundEndpoint |
getEndpoint() |
void |
setEndpoint(OutboundEndpoint endpoint) |
void |
setEndpoint(String endpoint) |
getStatistics, setStatisticspublic void setEndpoint(OutboundEndpoint endpoint)
setEndpoint in interface RouterCatchAllStrategysetEndpoint in class AbstractCatchAllStrategypublic void setEndpoint(String endpoint)
public OutboundEndpoint getEndpoint()
getEndpoint in interface RouterCatchAllStrategygetEndpoint in class AbstractCatchAllStrategypublic MuleMessage catchMessage(MuleMessage message, MuleSession session, boolean synchronous) throws RoutingException
RoutingExceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.