Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.spi |
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
|
Modifier and Type | Method and Description |
---|---|
default AsyncCallback |
Consumer.defaultConsumerCallback(Exchange exchange,
boolean autoRelease)
The default callback to use with the consumer when calling the processor using asynchronous routing.
|
AsyncCallback |
ExtendedExchange.getDefaultConsumerCallback()
Callback used by
Consumer if the consumer is completing the exchange processing with default behaviour. |
Modifier and Type | Method and Description |
---|---|
boolean |
AsyncProcessor.process(Exchange exchange,
AsyncCallback callback)
Processes the message exchange.
|
void |
ExtendedExchange.setDefaultConsumerCallback(AsyncCallback callback)
Callback used by
Consumer if the consumer is completing the exchange processing with default behaviour. |
Modifier and Type | Method and Description |
---|---|
AsyncCallback |
UnitOfWork.beforeProcess(Processor processor,
Exchange exchange,
AsyncCallback callback)
Strategy for work to be executed before processing.
|
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWork.afterProcess(Processor processor,
Exchange exchange,
AsyncCallback callback,
boolean doneSync)
Strategy for work to be executed after the processing
This requires
UnitOfWork.isBeforeAfterProcess() returns true to be enabled. |
AsyncCallback |
UnitOfWork.beforeProcess(Processor processor,
Exchange exchange,
AsyncCallback callback)
Strategy for work to be executed before processing.
|
boolean |
ProducerCache.AsyncProducerCallback.doInAsyncProducer(AsyncProducer asyncProducer,
Exchange exchange,
AsyncCallback callback)
Performs operation on the given producer to send the given exchange.
|
boolean |
ProducerCache.doInAsyncProducer(Endpoint endpoint,
Exchange exchange,
AsyncCallback callback,
ProducerCache.AsyncProducerCallback producerCallback)
Sends an exchange to an endpoint using a supplied callback supporting the asynchronous routing engine.
|
Object |
InvokeOnHeaderStrategy.invoke(Object target,
String key,
Exchange exchange,
AsyncCallback callback)
Invoke the method based on the header key
|
boolean |
SharedInternalProcessor.process(Exchange exchange,
AsyncCallback originalCallback,
AsyncProcessor processor,
Processor resultProcessor)
Asynchronous API
|
Apache Camel