public class TransformerRouter extends AbstractOutboundRouter
ChainingRouter.ENABLE_CORRELATION_ALWAYS, ENABLE_CORRELATION_IF_NOT_SET, ENABLE_CORRELATION_NEVER, enableCorrelation, endpoints, logger, messageInfoMapping, replyTo, transactionConfigmuleContextPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
TransformerRouter() |
| Modifier and Type | Method and Description |
|---|---|
Transformer |
getTransformer() |
boolean |
isMatch(MuleMessage message)
Determines if the event should be processed by this router.
|
MuleMessage |
route(MuleMessage message,
MuleSession session,
boolean synchronous)
This method is responsible for routing the Message via the MuleSession.
|
void |
setTransformer(Transformer transformer) |
addEndpoint, createTransactionTemplate, dispatch, getEnableCorrelation, getEndpoint, getEndpoints, getMessageInfoMapping, getReplyTo, getTransactionConfig, isDynamicEndpoints, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageInfoMapping, setMessageProperties, setReplyTo, setTransactionConfigdispose, getMuleContext, getRouterStatistics, initialise, setMuleContext, setRouterStatisticsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRouterStatistics, setRouterStatisticsinitialisedisposepublic MuleMessage route(MuleMessage message, MuleSession session, boolean synchronous) throws MessagingException
OutboundRoutermessage - the message to send via one or more endpoints on this routersession - the session used to actually send the eventsynchronous - whether the invocation process should be synchronous or notMessagingException - if any errors occur during the sending of messagesFilteringOutboundRouter,
ExceptionBasedRouter,
MulticastingRouterpublic boolean isMatch(MuleMessage message) throws MessagingException
OutboundRoutermessage - the current message to evaluateMessagingException - if the event cannot be evaluatedSelectiveConsumerpublic Transformer getTransformer()
public void setTransformer(Transformer transformer)
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.