public interface Component extends Processor, FlowConstructAware
Component component processes a Event by invoking the component instance that has been configured,
optionally returning a result.
Implementations of Component can use different types of component implementation, implement component instance
pooling or implement bindings which allow for service composition.ReactiveProcessor.ProcessingType| Modifier and Type | Method and Description |
|---|---|
default ReactiveProcessor.ProcessingType |
getProcessingType()
In order for Mule to determine the best way to execute different processors based on the chosen
ProcessingStrategy it
needs to know the type of work the message processor will be performing and if it is ReactiveProcessor.ProcessingType.BLOCKING,
ReactiveProcessor.ProcessingType.CPU_INTENSIVE intensive or neither (ReactiveProcessor.ProcessingType.CPU_LITE). |
ComponentStatistics |
getStatistics()
Component statistics are used to gather component statistics such as sync/async invocation counts and total and average
execution time.
|
setFlowConstructComponentStatistics getStatistics()
default ReactiveProcessor.ProcessingType getProcessingType()
ReactiveProcessorProcessingStrategy it
needs to know the type of work the message processor will be performing and if it is ReactiveProcessor.ProcessingType.BLOCKING,
ReactiveProcessor.ProcessingType.CPU_INTENSIVE intensive or neither (ReactiveProcessor.ProcessingType.CPU_LITE).getProcessingType in interface ReactiveProcessorCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.