Class Etcd3AggregationRepository
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.component.etcd3.processor.aggregate.Etcd3AggregationRepository
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.AggregationRepository,org.apache.camel.spi.OptimisticLockingAggregationRepository,org.apache.camel.spi.RecoverableAggregationRepository,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
@Metadata(label="bean",
description="Aggregation repository that uses Etcd3 to store exchanges.",
annotations="interfaceName=org.apache.camel.spi.AggregationRepository")
@Configurer(metadataOnly=true)
@Deprecated(since="4.9.0",
forRemoval=true)
public class Etcd3AggregationRepository
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.RecoverableAggregationRepository, org.apache.camel.spi.OptimisticLockingAggregationRepository
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.spi.OptimisticLockingAggregationRepository
org.apache.camel.spi.OptimisticLockingAggregationRepository.OptimisticLockingException -
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Etcd3AggregationRepository(String prefixName, String endpoint) Deprecated, for removal: This API element is subject to removal in a future version.Etcd3AggregationRepository(String prefixName, String endpoint, boolean optimistic) Deprecated, for removal: This API element is subject to removal in a future version.Etcd3AggregationRepository(String prefixName, String persistencePrefixName, String endpoint) Deprecated, for removal: This API element is subject to removal in a future version.Etcd3AggregationRepository(String repositoryName, String persistentRepositoryName, String endpoint, boolean optimistic) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.ExchangeDeprecated, for removal: This API element is subject to removal in a future version.org.apache.camel.Exchangeadd(org.apache.camel.CamelContext camelContext, String key, org.apache.camel.Exchange oldExchange, org.apache.camel.Exchange newExchange) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.protected voiddoInit()Deprecated, for removal: This API element is subject to removal in a future version.protected voiddoStart()Deprecated, for removal: This API element is subject to removal in a future version.protected voiddoStop()Deprecated, for removal: This API element is subject to removal in a future version.org.apache.camel.ExchangeDeprecated, for removal: This API element is subject to removal in a future version.io.etcd.jetcd.ClientDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getKeys()Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.org.apache.camel.ExchangeDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.scan(org.apache.camel.CamelContext camelContext) Deprecated, for removal: This API element is subject to removal in a future version.voidsetAllowSerializedHeaders(boolean allowSerializedHeaders) Deprecated, for removal: This API element is subject to removal in a future version.voidsetClient(io.etcd.jetcd.Client client) Deprecated, for removal: This API element is subject to removal in a future version.voidsetDeadLetterUri(String deadLetterUri) Deprecated, for removal: This API element is subject to removal in a future version.voidsetEndpoint(String endpoint) Deprecated, for removal: This API element is subject to removal in a future version.voidsetMaximumRedeliveries(int maximumRedeliveries) Deprecated, for removal: This API element is subject to removal in a future version.voidsetOptimistic(boolean optimistic) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPrefixName(String prefixName) Deprecated, for removal: This API element is subject to removal in a future version.voidsetRecoveryInterval(long interval) Deprecated, for removal: This API element is subject to removal in a future version.voidsetRecoveryInterval(long interval, TimeUnit timeUnit) Deprecated, for removal: This API element is subject to removal in a future version.voidsetUseRecovery(boolean useRecovery) Deprecated, for removal: This API element is subject to removal in a future version.protected org.apache.camel.ExchangeunmarshallExchange(org.apache.camel.CamelContext camelContext, org.apache.camel.support.DefaultExchangeHolder holder) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getInternalLock, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.RecoverableAggregationRepository
confirmWithResult, getRecoveryIntervalInMillisMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
Etcd3AggregationRepository
public Etcd3AggregationRepository()Deprecated, for removal: This API element is subject to removal in a future version. -
Etcd3AggregationRepository
Deprecated, for removal: This API element is subject to removal in a future version. -
Etcd3AggregationRepository
Deprecated, for removal: This API element is subject to removal in a future version. -
Etcd3AggregationRepository
Deprecated, for removal: This API element is subject to removal in a future version. -
Etcd3AggregationRepository
public Etcd3AggregationRepository(String repositoryName, String persistentRepositoryName, String endpoint, boolean optimistic) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
add
public org.apache.camel.Exchange add(org.apache.camel.CamelContext camelContext, String key, org.apache.camel.Exchange oldExchange, org.apache.camel.Exchange newExchange) throws org.apache.camel.spi.OptimisticLockingAggregationRepository.OptimisticLockingException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addin interfaceorg.apache.camel.spi.OptimisticLockingAggregationRepository- Throws:
org.apache.camel.spi.OptimisticLockingAggregationRepository.OptimisticLockingException
-
add
public org.apache.camel.Exchange add(org.apache.camel.CamelContext camelContext, String key, org.apache.camel.Exchange exchange) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addin interfaceorg.apache.camel.spi.AggregationRepository
-
scan
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
scanin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
recover
public org.apache.camel.Exchange recover(org.apache.camel.CamelContext camelContext, String exchangeId) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
recoverin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
setRecoveryInterval
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setRecoveryIntervalin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
getRecoveryInterval
public long getRecoveryInterval()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRecoveryIntervalin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
setRecoveryInterval
public void setRecoveryInterval(long interval) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setRecoveryIntervalin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
setUseRecovery
public void setUseRecovery(boolean useRecovery) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setUseRecoveryin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
isUseRecovery
public boolean isUseRecovery()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isUseRecoveryin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
setDeadLetterUri
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setDeadLetterUriin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
getDeadLetterUri
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDeadLetterUriin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
setMaximumRedeliveries
public void setMaximumRedeliveries(int maximumRedeliveries) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setMaximumRedeliveriesin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
getMaximumRedeliveries
public int getMaximumRedeliveries()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getMaximumRedeliveriesin interfaceorg.apache.camel.spi.RecoverableAggregationRepository
-
isAllowSerializedHeaders
public boolean isAllowSerializedHeaders()Deprecated, for removal: This API element is subject to removal in a future version. -
setAllowSerializedHeaders
public void setAllowSerializedHeaders(boolean allowSerializedHeaders) Deprecated, for removal: This API element is subject to removal in a future version. -
isOptimistic
public boolean isOptimistic()Deprecated, for removal: This API element is subject to removal in a future version. -
setOptimistic
public void setOptimistic(boolean optimistic) Deprecated, for removal: This API element is subject to removal in a future version. -
getEndpoint
Deprecated, for removal: This API element is subject to removal in a future version. -
setEndpoint
Deprecated, for removal: This API element is subject to removal in a future version. -
getClient
public io.etcd.jetcd.Client getClient()Deprecated, for removal: This API element is subject to removal in a future version. -
setClient
public void setClient(io.etcd.jetcd.Client client) Deprecated, for removal: This API element is subject to removal in a future version. -
getPrefixName
Deprecated, for removal: This API element is subject to removal in a future version. -
setPrefixName
Deprecated, for removal: This API element is subject to removal in a future version. -
get
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getin interfaceorg.apache.camel.spi.AggregationRepository
-
remove
public void remove(org.apache.camel.CamelContext camelContext, String key, org.apache.camel.Exchange exchange) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
removein interfaceorg.apache.camel.spi.AggregationRepository- Specified by:
removein interfaceorg.apache.camel.spi.OptimisticLockingAggregationRepository
-
confirm
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
confirmin interfaceorg.apache.camel.spi.AggregationRepository
-
getKeys
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getKeysin interfaceorg.apache.camel.spi.AggregationRepository
-
doInit
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
doInitin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
doStart
protected void doStart()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
doStartin classorg.apache.camel.support.service.BaseService
-
doStop
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
doStopin classorg.apache.camel.support.service.BaseService- Throws:
Exception
-
unmarshallExchange
protected org.apache.camel.Exchange unmarshallExchange(org.apache.camel.CamelContext camelContext, org.apache.camel.support.DefaultExchangeHolder holder) Deprecated, for removal: This API element is subject to removal in a future version.
-