Class AbstractIgniteEndpoint
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.component.ignite.AbstractIgniteEndpoint
- 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.HasCamelContext,org.apache.camel.spi.HasId,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
- Direct Known Subclasses:
IgniteCacheEndpoint,IgniteComputeEndpoint,IgniteEventsEndpoint,IgniteIdGenEndpoint,IgniteMessagingEndpoint,IgniteQueueEndpoint,IgniteSetEndpoint
public abstract class AbstractIgniteEndpoint
extends org.apache.camel.support.DefaultEndpoint
Base class for all Ignite endpoints.
-
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
ConstructorsConstructorDescriptionAbstractIgniteEndpoint(String endpointUri, org.apache.camel.Component component) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.ignite.Igniteignite()protected AbstractIgniteComponentbooleanGets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.booleanGets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.voidsetPropagateIncomingBodyIfNoReturnValue(boolean propagateIncomingBodyIfNoReturnValue) Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void.voidsetTreatCollectionsAsCacheObjects(boolean treatCollectionsAsCacheObjects) Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.Methods 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, 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
createConsumer, createProducer, getEndpointBaseUri, 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
-
AbstractIgniteEndpoint
-
-
Method Details
-
igniteComponent
-
ignite
protected org.apache.ignite.Ignite ignite() -
isPropagateIncomingBodyIfNoReturnValue
public boolean isPropagateIncomingBodyIfNoReturnValue()Gets whether to propagate the incoming body if the return type of the underlying Ignite operation is void. -
setPropagateIncomingBodyIfNoReturnValue
public void setPropagateIncomingBodyIfNoReturnValue(boolean propagateIncomingBodyIfNoReturnValue) Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void. -
isTreatCollectionsAsCacheObjects
public boolean isTreatCollectionsAsCacheObjects()Gets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc. -
setTreatCollectionsAsCacheObjects
public void setTreatCollectionsAsCacheObjects(boolean treatCollectionsAsCacheObjects) Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc.
-