@UriEndpoint(firstVersion="2.17.0",
scheme="ignite-compute",
title="Ignite Compute",
syntax="ignite-compute:endpointId",
category=COMPUTE,
producerOnly=true)
public class IgniteComputeEndpoint
extends AbstractIgniteEndpoint
| Constructor and Description |
|---|
IgniteComputeEndpoint(String uri,
String remaining,
Map<String,Object> parameters,
IgniteComputeComponent igniteComponent) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.ignite.IgniteCompute |
createIgniteCompute() |
org.apache.camel.Producer |
createProducer() |
ClusterGroupExpression |
getClusterGroupExpression()
Gets the cluster group expression.
|
String |
getComputeName()
Gets the name of the compute job, which will be set via
IgniteCompute.withName(String). |
String |
getEndpointId()
Gets the endpoint ID.
|
IgniteComputeExecutionType |
getExecutionType()
Gets the execution type of this producer.
|
String |
getTaskName()
Gets the task name, only applicable if using the
IgniteComputeExecutionType.EXECUTE execution type. |
Long |
getTimeoutMillis()
Gets the timeout interval for triggered jobs, in milliseconds, which will be set via
IgniteCompute.withTimeout(long). |
void |
setClusterGroupExpression(ClusterGroupExpression clusterGroupExpression)
An expression that returns the Cluster Group for the IgniteCompute instance.
|
void |
setComputeName(String computeName)
The name of the compute job, which will be set via
IgniteCompute.withName(String). |
void |
setEndpointId(String endpointId)
The endpoint ID (not used).
|
void |
setExecutionType(IgniteComputeExecutionType executionType)
The compute operation to perform.
|
void |
setTaskName(String taskName)
The task name, only applicable if using the
IgniteComputeExecutionType.EXECUTE execution type. |
void |
setTimeoutMillis(Long timeoutMillis)
The timeout interval for triggered jobs, in milliseconds, which will be set via
IgniteCompute.withTimeout(long). |
ignite, igniteComponent, isPropagateIncomingBodyIfNoReturnValue, isTreatCollectionsAsCacheObjects, setPropagateIncomingBodyIfNoReturnValue, setTreatCollectionsAsCacheObjectsconfigureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, 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, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic org.apache.ignite.IgniteCompute createIgniteCompute()
public String getEndpointId()
public void setEndpointId(String endpointId)
public ClusterGroupExpression getClusterGroupExpression()
public void setClusterGroupExpression(ClusterGroupExpression clusterGroupExpression)
public IgniteComputeExecutionType getExecutionType()
public void setExecutionType(IgniteComputeExecutionType executionType)
public String getTaskName()
IgniteComputeExecutionType.EXECUTE execution type.public void setTaskName(String taskName)
IgniteComputeExecutionType.EXECUTE execution type.public String getComputeName()
IgniteCompute.withName(String).public void setComputeName(String computeName)
IgniteCompute.withName(String).public Long getTimeoutMillis()
IgniteCompute.withTimeout(long).public void setTimeoutMillis(Long timeoutMillis)
IgniteCompute.withTimeout(long).Apache Camel