Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.component.file |
The File Component for working with file systems.
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.processor.idempotent |
An implementation of the Idempotent Consumer
pattern.
|
org.apache.camel.spi |
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
|
org.apache.camel.support |
Base classes that help to implement the camel API and are expected to be extended by the user
|
org.apache.camel.util |
Utility classes used by the core of Camel.
|
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 | Class and Description |
---|---|
class |
GenericFileOnCompletion<T>
On completion strategy that performs the required work after the
Exchange has been processed. |
Modifier and Type | Method and Description |
---|---|
List<Synchronization> |
DefaultExchange.handoverCompletions() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultUnitOfWork.handoverSynchronization(Exchange target,
Predicate<Synchronization> filter) |
Modifier and Type | Class and Description |
---|---|
class |
IdempotentOnCompletion
On completion strategy for
IdempotentConsumer . |
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 . |
Modifier and Type | Class and Description |
---|---|
class |
SynchronizationAdapter
Simple
Synchronization adapter with empty methods for easier overriding
of single methods. |
Modifier and Type | Method and Description |
---|---|
static void |
UnitOfWorkHelper.afterRouteSynchronizations(Route route,
Exchange exchange,
List<Synchronization> synchronizations,
org.slf4j.Logger log) |
static void |
UnitOfWorkHelper.beforeRouteSynchronizations(Route route,
Exchange exchange,
List<Synchronization> synchronizations,
org.slf4j.Logger log) |
static Exchange |
ExchangeHelper.createCorrelatedCopy(Exchange exchange,
boolean handover,
boolean useSameMessageId,
Predicate<Synchronization> filter)
Creates a new instance and copies from the current message exchange so that it can be
forwarded to another destination as a new instance.
|
static void |
UnitOfWorkHelper.doneSynchronizations(Exchange exchange,
List<Synchronization> synchronizations,
org.slf4j.Logger log) |
Apache Camel