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 |
| 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, transformsetMuleContextstatic 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()
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 ReactiveProcessorgetProcessingType in interface TransformerCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.