@Deprecated public interface Component extends Processor
Component
component processes a CoreEvent
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()
Deprecated.
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()
Deprecated.
Component statistics are used to gather component statistics such as sync/async invocation counts and total and average
execution time.
|
ComponentStatistics getStatistics()
default ReactiveProcessor.ProcessingType getProcessingType()
ReactiveProcessor
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
).
This method must return the same value for the same processor every time.
getProcessingType
in interface ReactiveProcessor
Copyright © 2018. All rights reserved.