public abstract class AbstractIgniteComponent
extends org.apache.camel.impl.DefaultComponent
IgniteCacheComponent: Cache operations.IgniteComputeComponent: Cluster computation.IgniteMessagingComponent: Messaging.IgniteEventsComponent: Eventing.IgniteIdGenComponent: Id Generation.IgniteSetComponent: Set operations.IgniteQueueComponent: Queue operations.| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractIgniteComponent.IgniteLifecycleMode
Modes of managing the underlying
Ignite instance. |
| Constructor and Description |
|---|
AbstractIgniteComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
Object |
getConfigurationResource()
Gets the resource from where to load the configuration.
|
org.apache.ignite.Ignite |
getIgnite()
Returns the
Ignite instance. |
org.apache.ignite.configuration.IgniteConfiguration |
getIgniteConfiguration()
Gets the
IgniteConfiguration if the user set it explicitly. |
void |
setConfigurationResource(Object configurationResource)
Sets the resource from where to load the configuration.
|
void |
setIgnite(org.apache.ignite.Ignite ignite)
Sets the
Ignite instance. |
void |
setIgniteConfiguration(org.apache.ignite.configuration.IgniteConfiguration igniteConfiguration)
Allows the user to set a programmatic
IgniteConfiguration. |
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIprotected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultComponentExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.impl.DefaultComponentExceptionpublic org.apache.ignite.Ignite getIgnite()
Ignite instance.public void setIgnite(org.apache.ignite.Ignite ignite)
Ignite instance.public Object getConfigurationResource()
URI, String (URI)
or an InputStream.public void setConfigurationResource(Object configurationResource)
URI, String (URI)
or an InputStream.public org.apache.ignite.configuration.IgniteConfiguration getIgniteConfiguration()
IgniteConfiguration if the user set it explicitly.public void setIgniteConfiguration(org.apache.ignite.configuration.IgniteConfiguration igniteConfiguration)
IgniteConfiguration.Apache Camel