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 |
---|---|
List<Synchronization> |
Exchange.handoverCompletions()
Handover all the on completions from this exchange
|
Modifier and Type | Method and Description |
---|---|
void |
Exchange.addOnCompletion(Synchronization onCompletion)
Adds a
Synchronization to be invoked as callback when
this exchange is completed. |
CompletableFuture<Exchange> |
ProducerTemplate.asyncCallback(Endpoint endpoint,
Exchange exchange,
Synchronization onCompletion)
Sends an asynchronous exchange to the given endpoint.
|
CompletableFuture<Exchange> |
ProducerTemplate.asyncCallback(Endpoint endpoint,
Processor processor,
Synchronization onCompletion)
Sends an asynchronous exchange to the given endpoint using a supplied processor.
|
CompletableFuture<Exchange> |
ProducerTemplate.asyncCallback(String endpointUri,
Exchange exchange,
Synchronization onCompletion)
Sends an asynchronous exchange to the given endpoint.
|
CompletableFuture<Exchange> |
ProducerTemplate.asyncCallback(String endpointUri,
Processor processor,
Synchronization onCompletion)
Sends an asynchronous exchange to the given endpoint using a supplied processor.
|
CompletableFuture<Object> |
ProducerTemplate.asyncCallbackRequestBody(Endpoint endpoint,
Object body,
Synchronization onCompletion)
Sends an asynchronous body to the given endpoint.
|
CompletableFuture<Object> |
ProducerTemplate.asyncCallbackRequestBody(String endpointUri,
Object body,
Synchronization onCompletion)
Sends an asynchronous body to the given endpoint.
|
CompletableFuture<Object> |
ProducerTemplate.asyncCallbackSendBody(Endpoint endpoint,
Object body,
Synchronization onCompletion)
Sends an asynchronous body to the given endpoint.
|
CompletableFuture<Object> |
ProducerTemplate.asyncCallbackSendBody(String endpointUri,
Object body,
Synchronization onCompletion)
Sends an asynchronous body to the given endpoint.
|
boolean |
Exchange.containsOnCompletion(Synchronization onCompletion)
Checks if the passed
Synchronization instance is
already contained on this exchange. |
Modifier and Type | Interface and Description |
---|---|
interface |
SynchronizationRouteAware
An extended
Synchronization which is route aware. |
interface |
SynchronizationVetoable
A vetoable
Synchronization . |
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWork.addSynchronization(Synchronization synchronization)
Adds a synchronization hook
|
boolean |
UnitOfWork.containsSynchronization(Synchronization synchronization)
Checks if the passed synchronization hook is already part of this unit of work.
|
void |
UnitOfWork.removeSynchronization(Synchronization synchronization)
Removes a synchronization hook
|
Modifier and Type | Method and Description |
---|---|
void |
UnitOfWork.handoverSynchronization(Exchange target,
Predicate<Synchronization> filter)
Handover all the registered synchronizations to the target
Exchange . |
Apache Camel