Uses of Interface
org.apache.camel.AsyncCallback
Packages that use AsyncCallback
Package
Description
The core Camel API.
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 AsyncCallbackModifier and TypeMethodDescriptiondefault AsyncCallbackConsumer.defaultConsumerCallback(Exchange exchange, boolean autoRelease) The default callback to use with the consumer when calling the processor using asynchronous routing.ExtendedExchange.getDefaultConsumerCallback()Callback used byConsumerif the consumer is completing the exchange processing with default behaviour.Methods in org.apache.camel with parameters of type AsyncCallbackModifier and TypeMethodDescriptionbooleanAsyncProcessor.process(Exchange exchange, AsyncCallback callback) Processes the message exchange.voidExtendedExchange.setDefaultConsumerCallback(AsyncCallback callback) Callback used byConsumerif 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 AsyncCallbackModifier and TypeMethodDescriptionUnitOfWork.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 AsyncCallbackModifier and TypeMethodDescriptionvoidUnitOfWork.afterProcess(Processor processor, Exchange exchange, AsyncCallback callback, boolean doneSync) Strategy for work to be executed after the processingUnitOfWork.beforeProcess(Processor processor, Exchange exchange, AsyncCallback callback) Strategy for work to be executed before processing.booleanProducerCache.AsyncProducerCallback.doInAsyncProducer(AsyncProducer asyncProducer, Exchange exchange, AsyncCallback callback) Performs operation on the given producer to send the given exchange.booleanProducerCache.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.InvokeOnHeaderStrategy.invoke(Object target, String key, Exchange exchange, AsyncCallback callback) Invoke the method based on the header keybooleanSharedInternalProcessor.process(Exchange exchange, AsyncCallback originalCallback, AsyncProcessor processor, Processor resultProcessor) Asynchronous API