org.mule.routing
Class ForwardingCatchAllStrategy
java.lang.Object
org.mule.routing.AbstractCatchAllStrategy
org.mule.routing.ForwardingCatchAllStrategy
- All Implemented Interfaces:
- RouterCatchAllStrategy
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)
getEndpoint
public OutboundEndpoint getEndpoint()
doCatchMessage
public MuleMessage doCatchMessage(MuleMessage message,
MuleSession session)
throws RoutingException
- Specified by:
doCatchMessage
in class AbstractCatchAllStrategy
- Throws:
RoutingException
isSendTransformed
public boolean isSendTransformed()
setSendTransformed
public void setSendTransformed(boolean sendTransformed)
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.