Uses of Interface
org.apache.camel.AsyncCallback
-
Packages that use AsyncCallback 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. -
-
Uses of AsyncCallback in org.apache.camel
Methods in org.apache.camel that return AsyncCallback Modifier and Type Method 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 byConsumer
if the consumer is completing the exchange processing with default behaviour.Methods in org.apache.camel with parameters of type AsyncCallback Modifier and Type Method Description boolean
AsyncProcessor. process(Exchange exchange, AsyncCallback callback)
Processes the message exchange.void
ExtendedExchange. setDefaultConsumerCallback(AsyncCallback callback)
Callback used byConsumer
if the consumer is completing the exchange processing with default behaviour. -
Uses of AsyncCallback in org.apache.camel.spi
Methods in org.apache.camel.spi that return AsyncCallback Modifier and Type Method Description AsyncCallback
UnitOfWork. beforeProcess(Processor processor, Exchange exchange, AsyncCallback callback)
Strategy for work to be executed before processing.Methods in org.apache.camel.spi with parameters of type AsyncCallback Modifier and Type Method Description void
UnitOfWork. afterProcess(Processor processor, Exchange exchange, AsyncCallback callback, boolean doneSync)
Strategy for work to be executed after the processingAsyncCallback
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 keyboolean
SharedInternalProcessor. process(Exchange exchange, AsyncCallback originalCallback, AsyncProcessor processor, Processor resultProcessor)
Asynchronous API
-