java.lang.Object
org.mule.sdk.api.runtime.route.Route
A
Route allows a given Operation to receive a chain of message processors along with a set of
parameters, to be executed as part of the operation's execution.
Routes should be used for receiving multiple possible paths of execution, where the parameters of the
Route can be used to decide whether or not the contained processors should be executed. Stereotypes can be used in the Route declaration to define which are the allowed stereotypes of the received
processors.
This Route will not allow complex parameters to be defined inline, since the DSL content of the element will be
exclusive of the parameterized processors.
- Since:
- 1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChain()final voidsetProcessors(Chain processors) This is for call from the runtime when building this component.
-
Constructor Details
-
Route
public Route()
-
-
Method Details
-
getChain
-
setProcessors
This is for call from the runtime when building this component. Additional calls to this will fail withIllegalStateException.- Parameters:
processors- the processors of this route
-