public interface MessageRouter extends Processor
Processor 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.ReactiveProcessor.ProcessingType| Modifier and Type | Method and Description |
|---|---|
void |
addRoute(Processor processor)
Adds a new message processor to the list of routes
|
void |
removeRoute(Processor processor)
Removes a message processor from the list of routes
|
getProcessingTypevoid addRoute(Processor processor) throws org.mule.runtime.api.exception.MuleException
processor - new destination message processororg.mule.runtime.api.exception.MuleExceptionvoid removeRoute(Processor processor) throws org.mule.runtime.api.exception.MuleException
processor - destination message processor to removeorg.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.