public interface MessageRouter extends MessageProcessor
MessageProcessor that routes messages to zero or more destination
message processors. Implementations determine exactly how this is done by making
decisions about which route(s) should be used and if the message should be copied
or not.| Modifier and Type | Method and Description |
|---|---|
void |
addRoute(MessageProcessor processor)
Adds a new message processor to the list of routes
|
void |
removeRoute(MessageProcessor processor)
Removes a message processor from the list of routes
|
processvoid addRoute(MessageProcessor processor) throws MuleException
processor - new destination message processorMuleExceptionvoid removeRoute(MessageProcessor processor) throws MuleException
processor - destination message processor to removeMuleExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.