org.mule.routing
Class ForwardingCatchAllStrategy
java.lang.Object
org.mule.routing.AbstractCatchAllStrategy
org.mule.routing.ForwardingCatchAllStrategy
- All Implemented Interfaces:
- MessageProcessor, OutboundRouterCatchAllStrategy, RouterStatisticsRecorder
public class ForwardingCatchAllStrategy
- extends AbstractCatchAllStrategy
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 can be used as
a dead letter/error queue.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
endpoint
protected OutboundEndpoint endpoint
ForwardingCatchAllStrategy
public ForwardingCatchAllStrategy()
setEndpoint
public void setEndpoint(OutboundEndpoint endpoint)
setMessageProcessor
public void setMessageProcessor(MessageProcessor processor)
getEndpoint
public OutboundEndpoint getEndpoint()
doCatchMessage
public MuleEvent doCatchMessage(MuleEvent event)
throws RoutingException
- Specified by:
doCatchMessage
in class AbstractCatchAllStrategy
- Throws:
RoutingException
isSendTransformed
public boolean isSendTransformed()
setSendTransformed
public void setSendTransformed(boolean sendTransformed)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.