public class AsyncProcessorTypeConverter extends TypeConverterSupport
Processor to an AsyncProcessor.
Processing will still occur synchronously but it will provide the required
notifications that the caller expects.| Constructor and Description |
|---|
AsyncProcessorTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
static AsyncProcessor |
convert(Processor value)
Deprecated.
|
<T> T |
convertTo(Class<T> type,
Exchange exchange,
Object value)
Converts the value to the specified type in the context of an exchange
Used when conversion requires extra information from the current
exchange (such as encoding).
|
allowNull, convertTo, mandatoryConvertTo, mandatoryConvertTo, tryConvertTo, tryConvertTopublic <T> T convertTo(Class<T> type, Exchange exchange, Object value)
TypeConvertertype - the requested typeexchange - the current exchangevalue - the value to be converted@Deprecated public static AsyncProcessor convert(Processor value)
AsyncProcessorConverterHelper.convert(org.apache.camel.Processor) insteadApache Camel