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, setStatistics
public void setEndpoint(OutboundEndpoint endpoint)
setEndpoint
in interface RouterCatchAllStrategy
setEndpoint
in class AbstractCatchAllStrategy
public void setEndpoint(String endpoint)
public OutboundEndpoint getEndpoint()
getEndpoint
in interface RouterCatchAllStrategy
getEndpoint
in class AbstractCatchAllStrategy
public MuleMessage catchMessage(MuleMessage message, MuleSession session, boolean synchronous) throws RoutingException
RoutingException
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.