Class DebeziumMongodbEndpoint
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.component.debezium.DebeziumEndpoint<MongoDbConnectorEmbeddedDebeziumConfiguration>
org.apache.camel.component.debezium.mongodb.DebeziumMongodbEndpoint
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.ComponentAware,org.apache.camel.Endpoint,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.EndpointServiceLocation,org.apache.camel.spi.HasCamelContext,org.apache.camel.spi.HasId,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
@UriEndpoint(firstVersion="3.0.0",
scheme="debezium-mongodb",
title="Debezium MongoDB Connector",
syntax="debezium-mongodb:name",
category=DATABASE,
consumerOnly=true,
headersClass=org.apache.camel.component.debezium.DebeziumConstants.class)
public final class DebeziumMongodbEndpoint
extends org.apache.camel.component.debezium.DebeziumEndpoint<MongoDbConnectorEmbeddedDebeziumConfiguration>
implements org.apache.camel.spi.EndpointServiceLocation
Capture changes from a MongoDB database.
-
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
ConstructorsConstructorDescriptionDebeziumMongodbEndpoint(String uri, DebeziumMongodbComponent component, MongoDbConnectorEmbeddedDebeziumConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectextractBodyValueFromValueStruct(org.apache.kafka.connect.data.Schema schema, Object value) voidsetConfiguration(MongoDbConnectorEmbeddedDebeziumConfiguration configuration) Methods inherited from class org.apache.camel.component.debezium.DebeziumEndpoint
createConsumer, createDbzExchange, createExecutor, createProducer, extractFieldValueFromValueStructMethods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doStop, 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, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.ComponentAware
getComponentMethods inherited from interface org.apache.camel.Endpoint
getEndpointBaseUri, isRemote, isSingletonProducerMethods 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
-
DebeziumMongodbEndpoint
public DebeziumMongodbEndpoint(String uri, DebeziumMongodbComponent component, MongoDbConnectorEmbeddedDebeziumConfiguration configuration) -
DebeziumMongodbEndpoint
public DebeziumMongodbEndpoint()
-
-
Method Details
-
getServiceUrl
- Specified by:
getServiceUrlin interfaceorg.apache.camel.spi.EndpointServiceLocation
-
getServiceProtocol
- Specified by:
getServiceProtocolin interfaceorg.apache.camel.spi.EndpointServiceLocation
-
getServiceMetadata
- Specified by:
getServiceMetadatain interfaceorg.apache.camel.spi.EndpointServiceLocation
-
getConfiguration
- Specified by:
getConfigurationin classorg.apache.camel.component.debezium.DebeziumEndpoint<MongoDbConnectorEmbeddedDebeziumConfiguration>
-
setConfiguration
- Specified by:
setConfigurationin classorg.apache.camel.component.debezium.DebeziumEndpoint<MongoDbConnectorEmbeddedDebeziumConfiguration>
-
extractBodyValueFromValueStruct
protected Object extractBodyValueFromValueStruct(org.apache.kafka.connect.data.Schema schema, Object value) - Overrides:
extractBodyValueFromValueStructin classorg.apache.camel.component.debezium.DebeziumEndpoint<MongoDbConnectorEmbeddedDebeziumConfiguration>
-