org.mule.routing
Class ForwardingCatchAllStrategy

java.lang.Object
  extended by org.mule.routing.AbstractCatchAllStrategy
      extended by 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.


Field Summary
 
Fields inherited from class org.mule.routing.AbstractCatchAllStrategy
endpoint, logger, statistics
 
Constructor Summary
ForwardingCatchAllStrategy()
           
 
Method Summary
 MuleMessage catchMessage(MuleMessage message, MuleSession session, boolean synchronous)
           
 boolean isSendTransformed()
           
 void setSendTransformed(boolean sendTransformed)
           
 
Methods inherited from class org.mule.routing.AbstractCatchAllStrategy
getEndpoint, getStatistics, setEndpoint, setStatistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardingCatchAllStrategy

public ForwardingCatchAllStrategy()
Method Detail

catchMessage

public MuleMessage catchMessage(MuleMessage message,
                                MuleSession session,
                                boolean synchronous)
                         throws RoutingException
Throws:
RoutingException

isSendTransformed

public boolean isSendTransformed()

setSendTransformed

public void setSendTransformed(boolean sendTransformed)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.