org.mule.routing.outbound
Class TransformerRouter

java.lang.Object
  extended by org.mule.processor.AbstractMuleObjectOwner<MessageProcessor>
      extended by org.mule.processor.AbstractMessageProcessorOwner
          extended by org.mule.routing.outbound.AbstractOutboundRouter
              extended by org.mule.routing.outbound.TransformerRouter
All Implemented Interfaces:
AnnotatedObject, FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, MessageProcessor, MessageRouter, Matchable, MatchableMessageProcessor, MatchableMessageRouter, OutboundRouter, RouterStatisticsRecorder

Deprecated.

public class TransformerRouter
extends AbstractOutboundRouter

Simply applies a transformer before continuing on to the next router. This can be useful with the ChainingRouter.


Field Summary
 
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter
enableCorrelation, initialised, logger, magicProperties, replyTo, resultsHandler, routes, started, transactionConfig
 
Fields inherited from class org.mule.processor.AbstractMuleObjectOwner
flowConstruct, muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
TransformerRouter()
          Deprecated.  
 
Method Summary
 Transformer getTransformer()
          Deprecated.  
 boolean isMatch(MuleMessage message)
          Deprecated. Determines if the event should be processed
 MuleEvent route(MuleEvent event)
          Deprecated.  
 void setTransformer(Transformer transformer)
          Deprecated.  
 
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter
addRoute, cloneMessage, createEventToRoute, dispose, getEnableCorrelation, getMuleContext, getOwnedMessageProcessors, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, initialise, isDynamicRoutes, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setMessageProcessors, setMessageProperties, setReplyTo, setResultsHandler, setRouterStatistics, setRoutes, setTransactionConfig, start, stop
 
Methods inherited from class org.mule.processor.AbstractMessageProcessorOwner
getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
 
Methods inherited from class org.mule.processor.AbstractMuleObjectOwner
getFlowConstruct, setFlowConstruct, setMuleContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.api.context.MuleContextAware
setMuleContext
 
Methods inherited from interface org.mule.api.construct.FlowConstructAware
setFlowConstruct
 

Constructor Detail

TransformerRouter

public TransformerRouter()
Deprecated. 
Method Detail

route

public MuleEvent route(MuleEvent event)
                throws MessagingException
Deprecated. 
Specified by:
route in class AbstractOutboundRouter
Throws:
MessagingException

isMatch

public boolean isMatch(MuleMessage message)
                throws MuleException
Deprecated. 
Description copied from interface: Matchable
Determines if the event should be processed

Parameters:
message - the current message to evaluate
Returns:
true if the event should be processed by this router
Throws:
MuleException - if the event cannot be evaluated

getTransformer

public Transformer getTransformer()
Deprecated. 

setTransformer

public void setTransformer(Transformer transformer)
Deprecated. 


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.