Package | Description |
---|---|
org.apache.camel.component.file |
The File Component for working with file systems.
|
org.apache.camel.component.file.strategy |
Strategies for the File Component.
|
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
org.apache.camel.processor.idempotent |
An implementation of the Idempotent Consumer
pattern.
|
org.apache.camel.spi |
Service Provider Interfaces used internally by the Camel runtime which are plugin strategies.
|
Modifier and Type | Field and Description |
---|---|
protected IdempotentRepository<String> |
GenericFileEndpoint.idempotentRepository |
protected IdempotentRepository<String> |
GenericFileEndpoint.inProgressRepository |
Modifier and Type | Method and Description |
---|---|
IdempotentRepository<String> |
GenericFileEndpoint.getIdempotentRepository() |
IdempotentRepository<String> |
GenericFileEndpoint.getInProgressRepository() |
Modifier and Type | Method and Description |
---|---|
void |
GenericFileEndpoint.setIdempotentRepository(IdempotentRepository<String> idempotentRepository)
A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository
if none is specified and idempotent is true.
|
void |
GenericFileEndpoint.setInProgressRepository(IdempotentRepository<String> inProgressRepository)
A pluggable in-progress repository org.apache.camel.spi.IdempotentRepository.
|
Modifier and Type | Method and Description |
---|---|
IdempotentRepository<String> |
FileIdempotentRepositoryReadLockStrategy.getIdempotentRepository()
The idempotent repository to use as the store for the read locks.
|
IdempotentRepository<String> |
FileIdempotentRenameRepositoryReadLockStrategy.getIdempotentRepository()
The idempotent repository to use as the store for the read locks.
|
IdempotentRepository<String> |
FileIdempotentChangedRepositoryReadLockStrategy.getIdempotentRepository()
The idempotent repository to use as the store for the read locks.
|
Modifier and Type | Method and Description |
---|---|
void |
FileIdempotentRepositoryReadLockStrategy.setIdempotentRepository(IdempotentRepository<String> idempotentRepository)
The idempotent repository to use as the store for the read locks.
|
void |
FileIdempotentRenameRepositoryReadLockStrategy.setIdempotentRepository(IdempotentRepository<String> idempotentRepository)
The idempotent repository to use as the store for the read locks.
|
void |
FileIdempotentChangedRepositoryReadLockStrategy.setIdempotentRepository(IdempotentRepository<String> idempotentRepository)
The idempotent repository to use as the store for the read locks.
|
Modifier and Type | Method and Description |
---|---|
IdempotentRepository<?> |
IdempotentConsumerDefinition.getMessageIdRepository() |
protected <T> IdempotentRepository<T> |
IdempotentConsumerDefinition.resolveMessageIdRepository(RouteContext routeContext)
Strategy method to resolve the
IdempotentRepository to use |
Modifier and Type | Method and Description |
---|---|
IdempotentConsumerDefinition |
ProcessorDefinition.idempotentConsumer(Expression messageIdExpression,
IdempotentRepository<?> idempotentRepository)
Idempotent consumer EIP:
Creates an
IdempotentConsumer
to avoid duplicate messages |
ExpressionClause<IdempotentConsumerDefinition> |
ProcessorDefinition.idempotentConsumer(IdempotentRepository<?> idempotentRepository)
Deprecated.
will be removed in Camel 3.0. Instead use any of the other methods
|
IdempotentConsumerDefinition |
IdempotentConsumerDefinition.messageIdRepository(IdempotentRepository<?> idempotentRepository)
Sets the the message id repository for the idempotent consumer
|
void |
IdempotentConsumerDefinition.setMessageIdRepository(IdempotentRepository<?> idempotentRepository) |
Constructor and Description |
---|
IdempotentConsumerDefinition(Expression messageIdExpression,
IdempotentRepository<?> idempotentRepository) |
Modifier and Type | Class and Description |
---|---|
class |
FileIdempotentRepository
A file based implementation of
IdempotentRepository . |
class |
MemoryIdempotentRepository
A memory based implementation of
IdempotentRepository . |
Modifier and Type | Method and Description |
---|---|
static IdempotentRepository<String> |
FileIdempotentRepository.fileIdempotentRepository(File fileStore)
Creates a new file based repository using a
LRUCache
as 1st level cache with a default of 1000 entries in the cache. |
static IdempotentRepository<String> |
FileIdempotentRepository.fileIdempotentRepository(File fileStore,
int cacheSize)
Creates a new file based repository using a
LRUCache
as 1st level cache. |
static IdempotentRepository<String> |
FileIdempotentRepository.fileIdempotentRepository(File fileStore,
int cacheSize,
long maxFileStoreSize)
Creates a new file based repository using a
LRUCache
as 1st level cache. |
static IdempotentRepository<String> |
FileIdempotentRepository.fileIdempotentRepository(File store,
Map<String,Object> cache)
Creates a new file based repository using the given
Map
as 1st level cache. |
IdempotentRepository<String> |
IdempotentConsumer.getIdempotentRepository() |
static IdempotentRepository<String> |
MemoryIdempotentRepository.memoryIdempotentRepository()
Creates a new memory based repository using a
LRUCache
with a default of 1000 entries in the cache. |
static IdempotentRepository<String> |
MemoryIdempotentRepository.memoryIdempotentRepository(int cacheSize)
Creates a new memory based repository using a
LRUCache . |
static IdempotentRepository<String> |
MemoryIdempotentRepository.memoryIdempotentRepository(Map<String,Object> cache)
Creates a new memory based repository using the given
Map to
use to store the processed message ids. |
Constructor and Description |
---|
IdempotentConsumer(Expression messageIdExpression,
IdempotentRepository<String> idempotentRepository,
boolean eager,
boolean completionEager,
boolean skipDuplicate,
boolean removeOnFailure,
Processor processor) |
IdempotentOnCompletion(IdempotentRepository<String> idempotentRepository,
String messageId,
boolean eager,
boolean removeOnFailure) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExchangeIdempotentRepository<E>
Access to a repository of Message IDs to implement the
Idempotent Consumer pattern.
|
Apache Camel