public interface Converter extends Transformer
Transformer
that is a data type converters, ie: convert data from a type to another without modifying the
meaning of the data.ReactiveProcessor.ProcessingType
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PRIORITY_WEIGHTING |
static int |
MAX_PRIORITY_WEIGHTING |
static int |
MIN_PRIORITY_WEIGHTING |
PHASE_NAME
PHASE_NAME
Modifier and Type | Method and Description |
---|---|
int |
getPriorityWeighting()
If two or more discoverable transformers are equal, this value can be used to select the correct one
|
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 ). |
void |
setPriorityWeighting(int weighting)
If 2 or more discoverable transformers are equal, this value can be used to select the correct one
|
getReturnDataType, getSourceDataTypes, isAcceptNull, isIgnoreBadInput, isSourceDataTypeSupported, setReturnDataType, transform, transform
initialise
dispose
setName
getName
setMuleContext
static final int MAX_PRIORITY_WEIGHTING
static final int MIN_PRIORITY_WEIGHTING
static final int DEFAULT_PRIORITY_WEIGHTING
int getPriorityWeighting()
MIN_PRIORITY_WEIGHTING
and
MAX_PRIORITY_WEIGHTING
.void setPriorityWeighting(int weighting)
weighting
- the priority weighting for this transformer. This is a value between MIN_PRIORITY_WEIGHTING
and
MAX_PRIORITY_WEIGHTING
.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
getProcessingType
in interface Transformer
Copyright © 2018. All rights reserved.