org.mule.routing.outbound
Class FilteringOutboundRouter

java.lang.Object
  extended byorg.mule.routing.outbound.AbstractOutboundRouter
      extended byorg.mule.routing.outbound.FilteringOutboundRouter
All Implemented Interfaces:
UMOOutboundRouter, UMORouter
Direct Known Subclasses:
AbstractMessageSplitter, AbstractRecipientList, ChainingRouter, MulticastingRouter, OutboundPassThroughRouter

public class FilteringOutboundRouter
extends AbstractOutboundRouter

FilteringRouter is a router that accepts events based on a filter set.

Version:
$Revision: 1.4 $
Author:
Ross Mason

Field Summary
 
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter
ENABLE_CORREATION_ALWAYS, ENABLE_CORREATION_IF_NOT_SET, ENABLE_CORREATION_NEVER, enableCorrelation, endpoints, logger, propertyExtractor, replyTo, routerStatistics, transactionConfig
 
Constructor Summary
FilteringOutboundRouter()
           
 
Method Summary
 UMOFilter getFilter()
           
 UMOTransformer getTransformer()
           
 boolean isMatch(UMOMessage message)
           
 UMOMessage route(UMOMessage message, UMOSession session, boolean synchronous)
           
 void setFilter(UMOFilter filter)
           
 void setTransformer(UMOTransformer transformer)
           
 
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter
addEndpoint, dispatch, getEnableCorrelation, getEndpoints, getPropertyExtractor, getReplyTo, getRouterStatistics, getTransactionConfig, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageProperties, setPropertyExtractor, setReplyTo, setRouterStatistics, setTransactionConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteringOutboundRouter

public FilteringOutboundRouter()
Method Detail

route

public UMOMessage route(UMOMessage message,
                        UMOSession session,
                        boolean synchronous)
                 throws RoutingException
Throws:
RoutingException

getFilter

public UMOFilter getFilter()

setFilter

public void setFilter(UMOFilter filter)

isMatch

public boolean isMatch(UMOMessage message)
                throws RoutingException
Throws:
RoutingException

getTransformer

public UMOTransformer getTransformer()

setTransformer

public void setTransformer(UMOTransformer transformer)


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.