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
|
process
void addRoute(MessageProcessor processor) throws MuleException
processor
- new destination message processorMuleException
void removeRoute(MessageProcessor processor) throws MuleException
processor
- destination message processor to removeMuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.